]> git.pld-linux.org Git - packages/CEGUI.git/blob - cxx11.patch
- use relaxed c++11 to fix build with new xerces-c
[packages/CEGUI.git] / cxx11.patch
1 --- cegui-0.8.7/CMakeLists.txt~ 2017-11-22 18:34:24.000000000 +0100
2 +++ cegui-0.8.7/CMakeLists.txt  2017-11-22 18:35:20.404123049 +0100
3 @@ -72,7 +72,7 @@
4  
5  if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang"))
6      set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
7 -    set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++03")
8 +    set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fpermissive")
9  elseif (NOT CMAKE_VERSION VERSION_LESS "3.1")
10      set (CMAKE_C_STANDARD_REQUIRED TRUE)
11      set (CMAKE_C_STANDARD "99")
This page took 0.08808 seconds and 3 git commands to generate.