diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2022-10-22 13:50:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 12:50:28 +0200 |
commit | 57e80ce91bb1d5d8ce8eba475c6423ed7b8a7519 (patch) | |
tree | 84bfe6adc2063a9bc84980a4f813326082b328eb | |
parent | e63107523915be883025836426fcdd96b97c22fa (diff) | |
download | ccache-57e80ce91bb1d5d8ce8eba475c6423ed7b8a7519.tar.gz |
build: Remove unneeded C++11 flag in libatomic test (#1191)
The required C++ is 17 anyway.
-rw-r--r-- | cmake/StdAtomic.cmake | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake/StdAtomic.cmake b/cmake/StdAtomic.cmake index 8cebe515..119518a8 100644 --- a/cmake/StdAtomic.cmake +++ b/cmake/StdAtomic.cmake @@ -2,7 +2,6 @@ include(CheckCXXSourceCompiles) -set(CMAKE_REQUIRED_FLAGS ${CMAKE_CXX11_STANDARD_COMPILE_OPTION}) set( check_std_atomic_source_code [=[ @@ -28,5 +27,3 @@ if(NOT std_atomic_without_libatomic) target_link_libraries(standard_settings INTERFACE atomic) endif() endif() - -set(CMAKE_REQUIRED_FLAGS) |