-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 8bcfaf7..336e9bb 100644 | ||
index 8bcfaf7..3d11f12 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -1209,7 +1209,9 @@ if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL) | ||
@@ -1208,9 +1208,11 @@ if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL) | ||
endif() | ||
endif() | ||
install(TARGETS ${ZLIB_INSTALL_LIBRARIES} | ||
EXPORT ${EXPORT_NAME} | ||
- EXPORT ${EXPORT_NAME} | ||
- DESTINATION "${CMAKE_INSTALL_LIBDIR}") | ||
- install(EXPORT ${EXPORT_NAME} | ||
+ EXPORT ${EXPORT_NAME}Config | ||
+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" | ||
+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" | ||
+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") | ||
install(EXPORT ${EXPORT_NAME} | ||
+ install(EXPORT ${EXPORT_NAME}Config | ||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${EXPORT_NAME}" | ||
NAMESPACE ${EXPORT_NAME}::) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters