Browse Source

CMakeLists.txt: update comment re Boost and atomics on PPC

pull/1883/head
barracuda156 2 years ago committed by R4SAS
parent
commit
00c75a7afa
  1. 1
      build/CMakeLists.txt

1
build/CMakeLists.txt

@ -178,6 +178,7 @@ endif() @@ -178,6 +178,7 @@ endif()
# Use std::atomic instead of GCC builtins on macOS PowerPC:
# For more information refer to: https://github.com/PurpleI2P/i2pd/issues/1726#issuecomment-1306335111
# This has been fixed in Boost 1.81, nevertheless we retain the setting for the sake of compatibility.
if(APPLE AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc")
add_definitions(-DBOOST_SP_USE_STD_ATOMIC)
endif()

Loading…
Cancel
Save