Respect CMAKE_INSTALL_LIBDIR in installed CMake files (#3054)

Fixes #3017
This commit is contained in:
Matt Turner 2019-11-22 11:02:25 -05:00 committed by Steven Perron
parent 45dde9ad6d
commit 85f3e93d13

View File

@ -214,7 +214,7 @@ if(ENABLE_SPIRV_TOOLS_INSTALL)
endmacro()
else()
macro(spvtools_config_package_dir TARGET PATH)
set(${PATH} lib/cmake/${TARGET})
set(${PATH} ${CMAKE_INSTALL_LIBDIR}/cmake/${TARGET})
endmacro()
endif()