From 36cb81cc02baa142f67d2c5e9ce3c2164d2c5189 Mon Sep 17 00:00:00 2001 From: Steven Koo Date: Fri, 4 Feb 2022 13:31:48 -0600 Subject: cmake: Remove libatomic check on macOS This removes the libatomic check on macOS. Like MSVC, just assume that it's built in. Signed-off-by: Steven Koo --- host/cmake/Modules/UHDAtomics.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/cmake/Modules') 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. -- cgit v1.2.3