cmake: Fix manifest generation for multi-config generators

This commit is contained in:
Ryan Pavlik 2022-05-06 14:26:14 -05:00
parent ccbb658e49
commit 351afdec8c
2 changed files with 1 additions and 1 deletions

View file

@ -81,6 +81,7 @@ function(generate_openxr_runtime_manifest_buildtree)
# "${_genmanifest_INTERMEDIATE_MANIFEST}" # "${_genmanifest_INTERMEDIATE_MANIFEST}"
COMMAND COMMAND
"${CMAKE_COMMAND}" "${CMAKE_COMMAND}"
"-DOUT_FILE=${_genmanifest_OUT_FILE}"
"-DRUNTIME_PATH=$<TARGET_FILE:${_genmanifest_RUNTIME_TARGET}>" -P "-DRUNTIME_PATH=$<TARGET_FILE:${_genmanifest_RUNTIME_TARGET}>" -P
"${_script}" DEPENDS "${_script}") "${_script}" DEPENDS "${_script}")
endfunction() endfunction()

View file

@ -9,7 +9,6 @@ set(OUT_FILENAME @_genmanifest_OUT_FILENAME@)
set(CONFIGURE_OUTPUT_FILE @_genmanifest_INTERMEDIATE_MANIFEST@) set(CONFIGURE_OUTPUT_FILE @_genmanifest_INTERMEDIATE_MANIFEST@)
set(IS_INSTALL @_genmanifest_IS_INSTALL@) set(IS_INSTALL @_genmanifest_IS_INSTALL@)
set(RUNTIME_TARGET @_genmanifest_RUNTIME_TARGET@) set(RUNTIME_TARGET @_genmanifest_RUNTIME_TARGET@)
set(OUT_FILE @_genmanifest_OUT_FILE@)
# Runtime install dir relative to install prefix # Runtime install dir relative to install prefix
set(RELATIVE_RUNTIME_DIR @_genmanifest_RELATIVE_RUNTIME_DIR@) set(RELATIVE_RUNTIME_DIR @_genmanifest_RELATIVE_RUNTIME_DIR@)
# Runtime so/dll filename # Runtime so/dll filename