fix build on !clang arches

This commit is contained in:
kirby 2018-05-19 03:07:57 +00:00
parent 3c89ad52ba
commit 94a4b5cf6f

View 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)