13 lines
790 B
Diff
13 lines
790 B
Diff
diff -Naur glslang-12.3.1.orig/StandAlone/CMakeLists.txt glslang-12.3.1/StandAlone/CMakeLists.txt
|
|
--- glslang-12.3.1.orig/StandAlone/CMakeLists.txt 2023-07-23 16:06:17.820386102 +0200
|
|
+++ glslang-12.3.1/StandAlone/CMakeLists.txt 2023-07-23 16:53:20.714773555 +0200
|
|
@@ -121,7 +121,7 @@
|
|
# Create the same symlink at install time
|
|
install(CODE "execute_process( \
|
|
COMMAND ${CMAKE_COMMAND} -E ${link_method} $<TARGET_FILE_NAME:glslang-standalone> ${legacy_glslang_name} \
|
|
- WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})")
|
|
+ WORKING_DIRECTORY \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})")
|
|
|
|
if(ENABLE_SPVREMAPPER)
|
|
install(TARGETS spirv-remap EXPORT glslang-targets)
|