- fix compiling on Ubuntu

This commit is contained in:
raa-eruanna 2018-01-08 15:13:55 -05:00 committed by Christoph Oelckers
parent 50be5c5bb7
commit 065708b4ea
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ if( MSVC )
endif( MSVC )
if( CMAKE_COMPILER_IS_GNUCXX )
set( ALL_C_FLAGS "${ALL_C_FLAGS} -Wc++11-extensions -ffast-math -pipe" )
set( ALL_C_FLAGS "${ALL_C_FLAGS} -std=c++11 -ffast-math -pipe" )
if( GPROF )
set( ALL_C_FLAGS "${ALL_C_FLAGS} -pg -g" )
else( GPROF )