Commit 9ff39d33 authored by Brian Paul's avatar Brian Paul

cmake: also install Windows manifest files

The previous patch (5087aa3f "cmake: create Win10 manifest files
for particular executables") didn't copy the manifest files when doing
'make install'.

This fixes that.  It requires CMake 3.0 or later.  Thanks to Brad King
for helping out!
Reviewed-by: Jose Fonseca's avatarJose Fonseca <jfonseca@vmware.com>
parent 134d8f6e
...@@ -114,8 +114,11 @@ function(piglit_create_manifest_file target) ...@@ -114,8 +114,11 @@ function(piglit_create_manifest_file target)
# the manifest file, but I've been unsuccessful in getting # the manifest file, but I've been unsuccessful in getting
# that to work. # that to work.
file(GENERATE file(GENERATE
OUTPUT bin/${target}.exe.manifest OUTPUT $<TARGET_FILE:${target}>.manifest
INPUT ${CMAKE_SOURCE_DIR}/cmake/win10-manifest.txt) INPUT ${CMAKE_SOURCE_DIR}/cmake/win10-manifest.txt)
install(FILES $<TARGET_FILE:${target}>.manifest
DESTINATION ${PIGLIT_INSTALL_LIBDIR}/bin)
endif() endif()
endif() endif()
endfunction(piglit_create_manifest_file) endfunction(piglit_create_manifest_file)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment