Renamed version -> simgear-version to avoid breaking clang++ on OpenBSD.

It seems that clang++ headers #include <version>, which found simgear/version
because we need to put singear/ in include path for some code to compile.
This commit is contained in:
Julian Smith 2020-06-27 13:26:13 +01:00 committed by Automatic Release Builder
parent 18d2bfcd8b
commit fc4ce2528b
2 changed files with 1 additions and 1 deletions

View File

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