renamed version -> flightgear-version to avoid breaking clang++.
clang++ headers end up including <version>, which picked up this file instead of the system one, breaking builds.
This commit is contained in:
parent
73c15c4d5c
commit
d0aaf240f6
2 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ set(CMAKE_RELWITHDEBINFO_POSTFIX "" CACHE STRING "add a postfix, usually empty
|
|||
set(CMAKE_MINSIZEREL_POSTFIX "" CACHE STRING "add a postfix, usually empty on windows")
|
||||
|
||||
# read 'version' file into a variable (stripping any newlines or spaces)
|
||||
file(READ version versionFile)
|
||||
file(READ flightgear-version versionFile)
|
||||
if (NOT versionFile)
|
||||
message(FATAL_ERROR "Unable to determine FlightGear version. Version file is missing.")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue