diff options
author | Manuel Bentele | 2020-11-23 07:52:28 +0100 |
---|---|---|
committer | Manuel Bentele | 2020-11-23 07:52:28 +0100 |
commit | 1baa63afc6f321e27fbeab81e31965432fb5bc2d (patch) | |
tree | 1267a9adcef02e69d452ff1f3c5df61131dd6bc3 /src | |
parent | [BUILD] add CMake find package search to find 'libatomic' automatically (diff) | |
download | dnbd3-1baa63afc6f321e27fbeab81e31965432fb5bc2d.tar.gz dnbd3-1baa63afc6f321e27fbeab81e31965432fb5bc2d.tar.xz dnbd3-1baa63afc6f321e27fbeab81e31965432fb5bc2d.zip |
[BUILD] update search paths for 'libatomic' to support build on FreeBSD
Diffstat (limited to 'src')
-rw-r--r-- | src/server/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/CMakeLists.txt b/src/server/CMakeLists.txt index c56cc9f..a5bd660 100644 --- a/src/server/CMakeLists.txt +++ b/src/server/CMakeLists.txt @@ -58,7 +58,7 @@ add_executable(dnbd3-server ${CMAKE_CURRENT_SOURCE_DIR}/altservers.c ${CMAKE_CURRENT_SOURCE_DIR}/uplink.c ${CMAKE_CURRENT_SOURCE_DIR}/urldecode.c) target_include_directories(dnbd3-server PRIVATE ${JANSSON_INCLUDE_DIR}) -target_link_libraries(dnbd3-server dnbd3-version dnbd3-build dnbd3-shared atomic ${CMAKE_THREAD_LIBS_INIT} ${JANSSON_LIBRARIES}) +target_link_libraries(dnbd3-server dnbd3-version dnbd3-build dnbd3-shared Libatomic::Libatomic ${CMAKE_THREAD_LIBS_INIT} ${JANSSON_LIBRARIES}) if(DNBD3_SERVER_FUSE) find_package(Fuse REQUIRED) |