Skip to content

Commit

Permalink
Don't use -std=c++0x for gcc <4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrrees committed Feb 11, 2016
1 parent f942bf2 commit 01032c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Expand Up @@ -70,7 +70,6 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
IF(GCC_VERSION VERSION_GREATER 4.7 OR GCC_VERSION VERSION_EQUAL 4.7)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
ELSE(GCC_VERSION VERSION_GREATER 4.7 OR GCC_VERSION VERSION_EQUAL 4.7)
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
UNSET(BOOST_MIN_VERSION) # For Ubuntu 12.04
ENDIF(GCC_VERSION VERSION_GREATER 4.7 OR GCC_VERSION VERSION_EQUAL 4.7)
ENDIF()
Expand Down

0 comments on commit 01032c9

Please sign in to comment.