GCC: Specify C++11 when building protobuf

This is necessary to build with GCC 4.6 on Linux (Travis)
develop
lethosor 2015-10-03 15:40:28 -04:00
parent 5580a255f5
commit 0337df94de
1 changed files with 1 additions and 1 deletions

@ -12,7 +12,7 @@ IF(CMAKE_COMPILER_IS_GNUCC)
# SET(STL_HASH_OLD_GCC 1)
#ENDIF()
#SET(CMAKE_CXX_FLAGS "-std=c++0x")
SET(CMAKE_CXX_FLAGS "-std=c++0x")
SET(HAVE_HASH_MAP 0)
SET(HASH_MAP_CLASS unordered_map)