aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/wildcards/install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/wildcards/install.patch')
-rw-r--r--vcpkg/ports/wildcards/install.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/vcpkg/ports/wildcards/install.patch b/vcpkg/ports/wildcards/install.patch
new file mode 100644
index 0000000..3abfb9b
--- /dev/null
+++ b/vcpkg/ports/wildcards/install.patch
@@ -0,0 +1,25 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b6cae16..fdc48f3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -52,3 +52,20 @@ if(WILDCARDS_CLANGFORMAT)
+
+ clangformat_setup("${clangformat_srcs}")
+ endif()
++
++add_library(wildcards INTERFACE)
++
++install(TARGETS wildcards
++ EXPORT unofficial-wildcards-targets
++ INCLUDES DESTINATION include)
++
++install(EXPORT unofficial-wildcards-targets
++ FILE unofficial-wildcards-config.cmake
++ NAMESPACE unofficial::wildcards::
++ DESTINATION share/unofficial-wildcards)
++
++include(GNUInstallDirs)
++install(
++ DIRECTORY include/
++ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wildcards"
++)