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