#6373 Fixed compile error on BSD. Cherry picked from 94eb69eb

This commit is contained in:
Yuri
2018-02-24 18:15:30 -08:00
committed by Jamie Newbon
parent 7fb4805521
commit 751fcffc87

View File

@@ -40,5 +40,5 @@ endif()
add_library(arch STATIC ${sources})
if (UNIX)
target_link_libraries(arch dl ${libs})
target_link_libraries(arch ${CMAKE_DL_LIBS} ${libs})
endif()