mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 11:41:36 +08:00
20 lines
874 B
Diff
20 lines
874 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index cbc6651..4e31f71 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -122,7 +122,7 @@ install(FILES ${XTL_HEADERS}
|
||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/xtl)
|
||
|
endif()
|
||
|
|
||
|
-set(XTL_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_DATAROOTDIR}/cmake/${PROJECT_NAME}" CACHE
|
||
|
+set(XTL_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}" CACHE
|
||
|
STRING "install path for xtlConfig.cmake")
|
||
|
|
||
|
configure_package_config_file(${PROJECT_NAME}Config.cmake.in
|
||
|
@@ -157,4 +157,4 @@ configure_file(${PROJECT_NAME}.pc.in
|
||
|
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc"
|
||
|
@ONLY)
|
||
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc"
|
||
|
- DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig/")
|
||
|
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/")
|