1
0
Fork 0

Fix dependency on ‘version’ file

This commit is contained in:
James Turner 2016-06-09 11:04:09 +01:00
parent 3a15b2f979
commit e7c7c5b226

View 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 )