diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b9433e4..1754fd26 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ endif(NOT REVISION) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_FLAGS_DEBUG_INIT "-g -O0 -ggdb -fsanitize=address -fno-omit-frame-pointer") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -march=native -mtune=native") set(CMAKE_INSTALL_PREFIX "") include(GNUInstallDirs) include(CheckFunctionExists)