vcpkg/ports/libzip/fix-findpackage.patch
Cédric Tabin d961529d7f
[libzip] Update to libzip 1.7.3 (#13625)
* Update to libzip 1.7.3

* [libzip] Update CONTROL

Co-authored-by: Cédric Tabin <cedric.tabin@gmail.com>
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-09-24 11:44:22 -07:00

18 lines
721 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 017f7cf0..9770c158 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake
)
install(EXPORT ${PROJECT_NAME}-targets NAMESPACE libzip:: FILE ${PROJECT_NAME}-targets.cmake
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake
)
endif()