From: James Turner <zakalawe@mac.com> Date: Thu, 9 Jun 2016 10:04:09 +0000 (+0100) Subject: Fix dependency on ‘version’ file X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9efa37a4e827d0b56b59908e02360f13b810c20c;p=flightgear.git Fix dependency on ‘version’ file --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 914133f16..4b1f5cbb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,8 @@ if (NOT versionFile) message(FATAL_ERROR "Unable to determine FlightGear version. Version file is missing.") endif() string(STRIP "${versionFile}" FLIGHTGEAR_VERSION) +# add a dependency on the versino file +set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS version) # FlightGear packaging (to build a source tarball) include( ConfigureCPack )