Fix dependency on ‘version’ file
This commit is contained in:
parent
3a15b2f979
commit
e7c7c5b226
1 changed files with 2 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue