mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
e46521db00
* Update GLSLANG to 11.12.0 * [glslang] Update baseline and version file * update port version * Fix shaderc * Update version database * Update ports/glslang/vcpkg.json Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com> * [glslang] update version Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>
39 lines
1.5 KiB
Diff
39 lines
1.5 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index b581c84..a011686 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -375,13 +375,13 @@ if(ENABLE_GLSLANG_INSTALL)
|
|
include("@PACKAGE_PATH_EXPORT_TARGETS@")
|
|
]=])
|
|
|
|
- set(PATH_EXPORT_TARGETS "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}/glslang-targets.cmake")
|
|
+ set(PATH_EXPORT_TARGETS "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/glslang-targets.cmake")
|
|
configure_package_config_file(
|
|
"${CMAKE_CURRENT_BINARY_DIR}/glslang-config.cmake.in"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/glslang-config.cmake"
|
|
PATH_VARS
|
|
PATH_EXPORT_TARGETS
|
|
- INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
+ INSTALL_DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}
|
|
)
|
|
|
|
write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/glslang-config-version.cmake"
|
|
@@ -392,7 +392,7 @@ if(ENABLE_GLSLANG_INSTALL)
|
|
install(
|
|
EXPORT glslang-targets
|
|
NAMESPACE "glslang::"
|
|
- DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"
|
|
+ DESTINATION "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}"
|
|
)
|
|
|
|
install(
|
|
@@ -400,6 +400,6 @@ if(ENABLE_GLSLANG_INSTALL)
|
|
"${CMAKE_CURRENT_BINARY_DIR}/glslang-config.cmake"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/glslang-config-version.cmake"
|
|
DESTINATION
|
|
- "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"
|
|
+ "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}"
|
|
)
|
|
endif()
|
|
\ No newline at end of file
|