From d69edd3ef411853cd780b75cf260295a39a8a49f Mon Sep 17 00:00:00 2001 From: Eric Renaud-Houde Date: Wed, 20 Sep 2023 15:10:46 -0400 Subject: [PATCH] Correctly reset CMAKE_CXX_FLAGS. Signed-off-by: Eric Renaud-Houde --- share/cmake/utils/CheckSupportSSE2.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/cmake/utils/CheckSupportSSE2.cmake b/share/cmake/utils/CheckSupportSSE2.cmake index 8c929c7e9..6a07155de 100644 --- a/share/cmake/utils/CheckSupportSSE2.cmake +++ b/share/cmake/utils/CheckSupportSSE2.cmake @@ -59,7 +59,7 @@ else() message(STATUS "Performing Test COMPILER_SUPPORTS_SSE2 - Failed") endif() -set(CMAKE_REQUIRED_FLAGS "${_cmake_cxx_flags_orig}") +set(CMAKE_CXX_FLAGS "${_cmake_cxx_flags_orig}") unset(_cmake_cxx_flags_orig) if(__universal_build)