mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
CMakeLists.txt: update comment re Boost and atomics on PPC
This commit is contained in:
parent
385e592045
commit
00c75a7afa
|
@ -178,6 +178,7 @@ endif()
|
||||||
|
|
||||||
# Use std::atomic instead of GCC builtins on macOS PowerPC:
|
# Use std::atomic instead of GCC builtins on macOS PowerPC:
|
||||||
# For more information refer to: https://github.com/PurpleI2P/i2pd/issues/1726#issuecomment-1306335111
|
# 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")
|
if(APPLE AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc")
|
||||||
add_definitions(-DBOOST_SP_USE_STD_ATOMIC)
|
add_definitions(-DBOOST_SP_USE_STD_ATOMIC)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue