mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-03 05:53:51 +08:00
#6373 Fixed compile error on BSD. Cherry picked from 94eb69eb
This commit is contained in:
@@ -40,5 +40,5 @@ endif()
|
|||||||
add_library(arch STATIC ${sources})
|
add_library(arch STATIC ${sources})
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
target_link_libraries(arch dl ${libs})
|
target_link_libraries(arch ${CMAKE_DL_LIBS} ${libs})
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user