diff options
Diffstat (limited to 'cmake/StandardSettings.cmake')
-rw-r--r-- | cmake/StandardSettings.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/StandardSettings.cmake b/cmake/StandardSettings.cmake index 88d8dff0..a0f0189c 100644 --- a/cmake/StandardSettings.cmake +++ b/cmake/StandardSettings.cmake @@ -47,6 +47,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "^GNU|(Apple)?Clang$") INTERFACE -fsanitize=${SANITIZER}) endforeach() + include(StdAtomic) + elseif(MSVC) target_compile_options(standard_settings INTERFACE /std:c++latest /Zc:preprocessor /Zc:__cplusplus /D_CRT_SECURE_NO_WARNINGS) endif() |