From 2553f08c8f1c837c1ce79e67303baa909cdbd75d Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 9 Apr 2019 17:23:19 -0400 Subject: [PATCH] build tests and examples with optimization - issue #7 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d0a6d67..ce6953a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ else() if(CXXFLAGS) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXXFLAGS}") else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -march=native") endif() endif()