Merge branch 'bugCompilerFlags' into 'master'
fixes #2 * removes -ansi since -ansi enforces older c++ standard and overwrites c++ standard settings from CXX flags See merge request !4
This commit is contained in:
@@ -62,7 +62,7 @@ if ( OPENMESH_BUILD_UNIT_TESTS )
|
||||
|
||||
if ( NOT WIN32 )
|
||||
# Set compiler flags
|
||||
set_target_properties(unittests PROPERTIES COMPILE_FLAGS "-g -pedantic -ansi -Wno-long-long")
|
||||
set_target_properties(unittests PROPERTIES COMPILE_FLAGS "-g -pedantic -Wno-long-long")
|
||||
else()
|
||||
# Set compiler flags
|
||||
set_target_properties(unittests PROPERTIES COMPILE_FLAGS "" )
|
||||
|
||||
Reference in New Issue
Block a user