From fc4ce2528b6ba98c71b3730944a51aa856eaadb1 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Sat, 27 Jun 2020 13:26:13 +0100 Subject: [PATCH] Renamed version -> simgear-version to avoid breaking clang++ on OpenBSD. It seems that clang++ headers #include , which found simgear/version because we need to put singear/ in include path for some code to compile. --- CMakeLists.txt | 2 +- version => simgear-version | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename version => simgear-version (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index c6e1923a..ccd3107a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED YES) # read 'version' file into a variable (stripping any newlines or spaces) -file(READ version versionFile) +file(READ simgear-version versionFile) string(STRIP ${versionFile} SIMGEAR_VERSION) project(SimGear VERSION ${SIMGEAR_VERSION} LANGUAGES C CXX) diff --git a/version b/simgear-version similarity index 100% rename from version rename to simgear-version