From 06e6b04f655c3f2f6424225e7ff8dd0396787105 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 9 Jun 2016 11:03:35 +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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 42eacba8..f586eb24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,9 @@ project(SimGear) file(READ version versionFile) string(STRIP ${versionFile} SIMGEAR_VERSION) +# add a dependency on the versino file +set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS version) + set(FIND_LIBRARY_USE_LIB64_PATHS ON) # use simgear version also as the SO version (if building SOs) -- 2.39.5