Add missing variables to those forwarded to the git-version target

new-script-api
AnyOldName3 7 years ago
parent 4a7be0ffda
commit e3142b9643

@ -17,6 +17,8 @@ if (GIT_CHECKOUT)
-DOPENMW_VERSION_RELEASE=${OPENMW_VERSION_RELEASE}
-DOPENMW_VERSION=${OPENMW_VERSION}
-DMACROSFILE=${CMAKE_SOURCE_DIR}/cmake/OpenMWMacros.cmake
"-DCMAKE_CONFIGURATION_TYPES=${CMAKE_CONFIGURATION_TYPES}"
"-DCMAKE_GENERATOR=${CMAKE_GENERATOR}"
-P ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/GitVersion.cmake
VERBATIM)
else (GIT_CHECKOUT)

Loading…
Cancel
Save