Skip to content

Commit a29184b

Browse files
committed
Restrict more clang versions for osg-gtk
1 parent 6266ca6 commit a29184b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/osg-gtk/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ find_package(OpenSceneGraph REQUIRED osgGA osgText osgViewer osgDB)
44
if(MINGW)
55
add_definitions(-std=c++0x -U__STRICT_ANSI__ -mms-bitfields)
66
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
7-
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "3.1")
8-
message("clang <3.1 detected; changing to default c++ instead since clang 3.0 is not good enough for the used headers")
7+
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "3.3")
8+
message("clang <3.3 detected; changing to default c++ instead since clang 3.0~3.2 are not good enough for the used headers")
99
set(CMAKE_CXX_COMPILER c++)
1010
endif()
1111
add_definitions(-std=c++0x)

0 commit comments

Comments
 (0)