From cfbf73626a537f6817cf47d4a51a2b922aa80c26 Mon Sep 17 00:00:00 2001 From: greg Date: Sun, 7 Nov 2021 14:11:52 -0500 Subject: [PATCH] Remove some forcing of compiler flags --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 113b7c8..25263f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,12 +48,6 @@ option(PHMAP_BUILD_EXAMPLES "Whether or not to build the examples" OFF) if(MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") -else() - if(CXXFLAGS) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXXFLAGS}") - else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -march=native") - endif() endif() if (PHMAP_BUILD_TESTS)