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

@@ -11,5 +11,5 @@ endif(WIN32)
if(ENABLE_GLSLANG_INSTALL)
install(TARGETS OGLCompiler EXPORT OGLCompilerTargets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(EXPORT OGLCompilerTargets DESTINATION lib/cmake)
install(EXPORT OGLCompilerTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake)
endif(ENABLE_GLSLANG_INSTALL)