fix error in CmakeLists: CMAKE_CXX_COMPILER_VERSIO -> CMAKE_CXX_COMPILER_VERSION
This commit is contained in:
parent
c31af086eb
commit
ba3ab1a7c1
@ -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