respect destdir for compat symlink
This commit is contained in:
parent
54726b3c1c
commit
171a322025
@ -121,7 +121,7 @@ if(ENABLE_GLSLANG_INSTALL)
|
|||||||
# Create the same symlink at install time
|
# Create the same symlink at install time
|
||||||
install(CODE "execute_process( \
|
install(CODE "execute_process( \
|
||||||
COMMAND ${CMAKE_COMMAND} -E ${link_method} $<TARGET_FILE_NAME:glslang-standalone> ${legacy_glslang_name} \
|
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)
|
if(ENABLE_SPVREMAPPER)
|
||||||
install(TARGETS spirv-remap EXPORT glslang-targets)
|
install(TARGETS spirv-remap EXPORT glslang-targets)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user