|
@@ -24,7 +24,7 @@ if(CMAKE_BUILD_TYPE MATCHES Debug)
|
|
message(STATUS "Building DEBUG version")
|
|
message(STATUS "Building DEBUG version")
|
|
else()
|
|
else()
|
|
set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3")
|
|
set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3")
|
|
- message(STATUS "Building DEBUG version")
|
|
|
|
|
|
+ message(STATUS "Building RELEASE version")
|
|
foreach(FLAG -march=native -mtune=native -funroll-loops)
|
|
foreach(FLAG -march=native -mtune=native -funroll-loops)
|
|
string(REGEX REPLACE -= _ FLAG_ID ${FLAG})
|
|
string(REGEX REPLACE -= _ FLAG_ID ${FLAG})
|
|
string(TOUPPER ${FLAG_ID} FLAG_ID)
|
|
string(TOUPPER ${FLAG_ID} FLAG_ID)
|