From fcc5e055ef13dae66da09605fb5a0abc51ac02d5 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 a896ec88..6f772e09 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ set(CMAKE_CXX_STANDARD 17) 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