From: Orgad Shaneh Date: Sat, 22 Oct 2022 10:50:28 +0000 (+0300) Subject: build: Remove unneeded C++11 flag in libatomic test (#1191) X-Git-Tag: v4.7.1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57e80ce91bb1d5d8ce8eba475c6423ed7b8a7519;p=thirdparty%2Fccache.git build: Remove unneeded C++11 flag in libatomic test (#1191) The required C++ is 17 anyway. --- diff --git a/cmake/StdAtomic.cmake b/cmake/StdAtomic.cmake index 8cebe5157..119518a84 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)