aboutsummaryrefslogtreecommitdiff
path: root/ports/glslang/CMakeLists-targets.patch
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2021-01-17 05:03:04 +0100
committerGitHub <noreply@github.com>2021-01-16 20:03:04 -0800
commitffd5ca7eddf74a7237f44fc1683fcbc5c2df8cc3 (patch)
tree7b105e8f9587f25e076f675109eb3c345949a31d /ports/glslang/CMakeLists-targets.patch
parentc8fc7e1e26335f6c06d7765dd9df1c407cc8d983 (diff)
downloadvcpkg-ffd5ca7eddf74a7237f44fc1683fcbc5c2df8cc3.tar.gz
vcpkg-ffd5ca7eddf74a7237f44fc1683fcbc5c2df8cc3.zip
[glslang] Provide glslang-default-resource-limits library. (#15624)
* [glslang] Provide glslang-default-resource-limits library. * [glslang] Use Port-Version field. Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update port_versions Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Diffstat (limited to 'ports/glslang/CMakeLists-targets.patch')
-rw-r--r--ports/glslang/CMakeLists-targets.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/glslang/CMakeLists-targets.patch b/ports/glslang/CMakeLists-targets.patch
index 36e923d92..53cf5bf8f 100644
--- a/ports/glslang/CMakeLists-targets.patch
+++ b/ports/glslang/CMakeLists-targets.patch
@@ -106,3 +106,16 @@ index f918d7a..329800f 100644
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
else()
+diff --git a/StandAlone/CMakeLists.txt b/StandAlone/CMakeLists.txt
+index 5cea53d9..43e45534 100644
+--- a/StandAlone/CMakeLists.txt
++++ b/StandAlone/CMakeLists.txt
+@@ -46,7 +46,7 @@ if(ENABLE_GLSLANG_INSTALL)
+ install(TARGETS spirv-remap
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
+
+- if(BUILD_SHARED_LIBS)
++ if(BUILD_SHARED_LIBS OR TRUE)
+ install(TARGETS glslang-default-resource-limits
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endif()