#6373 Fixed compile error on BSD. Cherry picked from 94eb69eb
This commit is contained in:
parent
7fb4805521
commit
751fcffc87
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue