2020-08-08 02:47:36 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2020-09-25 02:44:22 +08:00
|
|
|
index 017f7cf0..9770c158 100644
|
2020-08-08 02:47:36 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2020-09-25 02:44:22 +08:00
|
|
|
@@ -437,10 +437,10 @@ export(TARGETS zip
|
|
|
|
if(LIBZIP_DO_INSTALL)
|
|
|
|
install(FILES ${PROJECT_BINARY_DIR}/zipconf.h DESTINATION include)
|
|
|
|
install(FILES ${PROJECT_BINARY_DIR}/${PROJECT_NAME}-config.cmake ${PROJECT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
|
2020-08-08 02:47:36 +08:00
|
|
|
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
|
|
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake
|
|
|
|
)
|
2020-09-25 02:44:22 +08:00
|
|
|
install(EXPORT ${PROJECT_NAME}-targets NAMESPACE libzip:: FILE ${PROJECT_NAME}-targets.cmake
|
2020-08-08 02:47:36 +08:00
|
|
|
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
|
|
|
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake
|
|
|
|
)
|
2020-09-25 02:44:22 +08:00
|
|
|
endif()
|
2020-08-08 02:47:36 +08:00
|
|
|
|