]> git.mxchange.org Git - flightgear.git/commitdiff
Fix dependency on ‘version’ file
authorJames Turner <zakalawe@mac.com>
Thu, 9 Jun 2016 10:04:09 +0000 (11:04 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:36 +0000 (23:27 +0200)
CMakeLists.txt

index 914133f1641fc6a1c0b0b718cf0cb9e5b0f0f80b..4b1f5cbb350f705300dec003f7b411cf995e8c21 100644 (file)
@@ -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 )