early-access version 2853
This commit is contained in:
21
externals/vcpkg/ports/lerc/create_package.patch
vendored
Executable file
21
externals/vcpkg/ports/lerc/create_package.patch
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index e90fcdd..17c79e8 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -26,9 +26,16 @@ add_library(LercLib ${SOURCES})
|
||||
endif()
|
||||
|
||||
install(
|
||||
TARGETS Lerc
|
||||
+ EXPORT LercTargets
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||
)
|
||||
+target_include_directories(Lerc PUBLIC "$<INSTALL_INTERFACE:include>")
|
||||
+install(EXPORT LercTargets
|
||||
+ FILE unofficial-lerc-config.cmake
|
||||
+ NAMESPACE unofficial::Lerc::
|
||||
+ DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/unofficial-lerc"
|
||||
+)
|
Reference in New Issue
Block a user