mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-29 23:35:26 +08:00
fix FreeBSD build
This commit is contained in:
@@ -40,5 +40,8 @@ endif()
|
||||
add_library(arch STATIC ${sources})
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(arch dl ${libs})
|
||||
target_link_libraries(arch ${libs})
|
||||
if (NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||
target_link_libraries(arch dl)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user