diff --git a/CMakeLists.txt b/CMakeLists.txt index 45e401922..59aa94606 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/version b/flightgear-version similarity index 100% rename from version rename to flightgear-version