diff options
Diffstat (limited to 'dev-util/spirv-headers/files/spirv-headers-Get-rid-of-custom-target.patch')
-rw-r--r-- | dev-util/spirv-headers/files/spirv-headers-Get-rid-of-custom-target.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-util/spirv-headers/files/spirv-headers-Get-rid-of-custom-target.patch b/dev-util/spirv-headers/files/spirv-headers-Get-rid-of-custom-target.patch new file mode 100644 index 000000000000..b1581f5417b6 --- /dev/null +++ b/dev-util/spirv-headers/files/spirv-headers-Get-rid-of-custom-target.patch @@ -0,0 +1,25 @@ +From c44560949ec78dd13fe1394bf2957e4fd5adec79 Mon Sep 17 00:00:00 2001 +From: Brian Evans <grknight@gentoo.org> +Date: Wed, 14 Mar 2018 20:00:22 -0400 +Subject: [PATCH] Get rid of custom target + +--- + CMakeLists.txt | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a5bff17..bbc3ddc 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -45,7 +45,5 @@ project(SPIRV-Headers) + # 3. cmake --build . install-headers + + file(GLOB_RECURSE FILES include/spirv/*) +-add_custom_target(install-headers +- COMMAND cmake -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/include/spirv ${CMAKE_INSTALL_PREFIX}/include/spirv) +- ++INSTALL(DIRECTORY include/spirv/ DESTINATION include/spirv) + add_subdirectory(example) +-- +2.16.2 + |