From d0aaf240f69f6c657aaf5789230ffa05345eed39 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Sat, 27 Jun 2020 13:30:14 +0100 Subject: [PATCH] renamed version -> flightgear-version to avoid breaking clang++. clang++ headers end up including , which picked up this file instead of the system one, breaking builds. --- CMakeLists.txt | 2 +- version => flightgear-version | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename version => flightgear-version (100%) 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