fix build on !clang arches
This commit is contained in:
parent
3c89ad52ba
commit
94a4b5cf6f
14
graphics/simgear/patches/patch-CMakeLists_txt
Normal file
14
graphics/simgear/patches/patch-CMakeLists_txt
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.3 2018/05/19 03:07:57 kirby Exp $
|
||||
|
||||
Index: CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -29,7 +29,7 @@ if(CMAKE_VERSION VERSION_LESS "3.1")
|
||||
set (CMAKE_CXX_FLAGS "-std=gnu++98 ${CMAKE_CXX_FLAGS}")
|
||||
endif()
|
||||
else()
|
||||
- set (CMAKE_CXX_STANDARD 98)
|
||||
+ set (CMAKE_CXX_STANDARD 11)
|
||||
endif()
|
||||
|
||||
project(SimGear)
|
Loading…
Reference in New Issue
Block a user