mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-11 22:25:53 +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})
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(arch dl ${libs})
|
||||
target_link_libraries(arch ${CMAKE_DL_LIBS} ${libs})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user