diff options
author | Steven Koo <steven.koo@ni.com> | 2022-02-04 13:31:48 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-02-07 14:36:26 -0600 |
commit | 36cb81cc02baa142f67d2c5e9ce3c2164d2c5189 (patch) | |
tree | 7a977a84cd397890285de6641e5d4b853a1aa9c7 /host/cmake/Modules | |
parent | 597e1a538c5a20bf8bda0d73edc6512c79905778 (diff) | |
download | uhd-36cb81cc02baa142f67d2c5e9ce3c2164d2c5189.tar.gz uhd-36cb81cc02baa142f67d2c5e9ce3c2164d2c5189.tar.bz2 uhd-36cb81cc02baa142f67d2c5e9ce3c2164d2c5189.zip |
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 <steven.koo@ni.com>
Diffstat (limited to 'host/cmake/Modules')
-rw-r--r-- | host/cmake/Modules/UHDAtomics.cmake | 2 |
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. |