ports/net-p2p/monero-cli/files/patch-CMakeLists.txt
2017-11-11 15:36:29 +00:00

14 lines
455 B
Text

https://github.com/monero-project/monero/pull/2793
--- CMakeLists.txt.orig 2017-11-11 15:31:39 UTC
+++ CMakeLists.txt
@@ -682,7 +682,7 @@ endif()
if(ANDROID)
set(ATOMIC libatomic.a)
endif()
-if(CMAKE_C_COMPILER_ID STREQUAL "Clang" AND ARCH_WIDTH EQUAL "32" AND NOT IOS)
+if(CMAKE_C_COMPILER_ID STREQUAL "Clang" AND ARCH_WIDTH EQUAL "32" AND NOT IOS AND NOT FREEBSD)
find_library(ATOMIC atomic)
list(APPEND EXTRA_LIBRARIES ${ATOMIC})
endif()