Merge pull request #137 from LaurensVoerman/Submissions10
fix error in CmakeLists: CMAKE_CXX_COMPILER_VERSIO
This commit is contained in:
commit
db10e80b7f
@ -1047,7 +1047,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
MESSAGE( STATUS "g++ version ${CMAKE_CXX_COMPILER_VERSION} ")
|
||||
IF(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.6)
|
||||
SET(OSG_AGGRESSIVE_WARNING_FLAGS ${OSG_AGGRESSIVE_WARNING_FLAGS} -Wmaybe-uninitialized -Wextra)
|
||||
IF(CMAKE_CXX_COMPILER_VERSIO VERSION_GREATER 4.9)
|
||||
IF(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.9)
|
||||
SET(OSG_AGGRESSIVE_WARNING_FLAGS ${OSG_AGGRESSIVE_WARNING_FLAGS} -Wshadow)
|
||||
IF(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 6.0)
|
||||
# -Wmisleading-indentation (in -Wall) generates less warnings when interpreting tab as 4 spaces instead of the default of 8
|
||||
|
Loading…
Reference in New Issue
Block a user