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

@@ -33,7 +33,7 @@ if(BUILD_TESTING)
if(ENABLE_GLSLANG_INSTALL)
install(TARGETS glslangtests EXPORT glslangtestsTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install(EXPORT glslangtestsTargets DESTINATION lib/cmake)
install(EXPORT glslangtestsTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake)
endif(ENABLE_GLSLANG_INSTALL)
set(GLSLANG_TEST_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../Test")