From e7c7c5b22607d5efa31638f29e3e9033d3ba94be Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 9 Jun 2016 11:04:09 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20dependency=20on=20=E2=80=98version?= =?UTF-8?q?=E2=80=99=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 380b7406f..f37fe9a28 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 )