Enable optimizations on travis

This commit is contained in:
Danila Malyutin 2017-07-19 16:38:55 +03:00 committed by Ivan
parent 99828a8f15
commit 9fee2ebeb5
1 changed files with 0 additions and 3 deletions

View File

@ -85,9 +85,6 @@ else()
endif()
if(NOT MSVC)
if($ENV{CI})
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O1") # fix for travis gcc OoM crash. Might be fixed with the move to containers.
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions")
if(WIN32)
set(CMAKE_RC_COMPILER_INIT windres)