Added -O3 flag to CMakeLists.txt
This commit is contained in:
parent
650daf7542
commit
8ee7b772a9
@ -16,7 +16,7 @@ set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
|
||||
set(CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS "-Wall -O3 ${CMAKE_CXX_FLAGS}")
|
||||
endif()
|
||||
|
||||
#---------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user