mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
a6768f6426
* [libsquish] Export cmake target * [openimageio] Fix find dependency libsquish * version * Rename the target * Re-fix dependency libsquish, apply official changes * version stuff * more version * Change namespace * Update patch * version * Remove unused patch * version Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
20 lines
577 B
Diff
20 lines
577 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index a3ecdde..94c7b3d 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -120,8 +120,14 @@ INCLUDE(GNUInstallDirs)
|
|
|
|
INSTALL(
|
|
TARGETS squish
|
|
+ EXPORT unofficial-libsquishConfig
|
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
)
|
|
+
|
|
+INSTALL(EXPORT unofficial-libsquishConfig
|
|
+ NAMESPACE unofficial::libsquish::
|
|
+ DESTINATION share/unofficial-libsquish
|
|
+)
|