aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/cmake/Modules/UHDAtomics.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDAtomics.cmake b/host/cmake/Modules/UHDAtomics.cmake
index 410687387..eb2800fe3 100644
--- a/host/cmake/Modules/UHDAtomics.cmake
+++ b/host/cmake/Modules/UHDAtomics.cmake
@@ -47,7 +47,7 @@ endfunction(CHECK_WORKING_CXX_BOOST_ATOMICS)
macro(CHECK_ATOMICS_LIB_REQUIRED required_var)
set(${required_var} FALSE)
- if(MSVC)
+ if(APPLE OR MSVC)
set(${required_var} FALSE)
else()
# First check if atomics work without the library.