Respect CMAKE_INSTALL_LIBDIR in installed CMake files

Fixes #1965
This commit is contained in:
Arfrever Frehtes Taifersar Arahesis
2019-11-18 11:11:55 -08:00
committed by Matt Turner
parent f4d4668529
commit bd69a4fb12
8 changed files with 11 additions and 11 deletions

View File

@@ -41,5 +41,5 @@ if(ENABLE_GLSLANG_INSTALL)
install(TARGETS HLSL EXPORT HLSLTargets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
install(EXPORT HLSLTargets DESTINATION lib/cmake)
install(EXPORT HLSLTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake)
endif(ENABLE_GLSLANG_INSTALL)