aboutsummaryrefslogtreecommitdiff
path: root/ports/libsnoretoast/include_fix.patch
diff options
context:
space:
mode:
authorDawid Wróbel <me@dawidwrobel.com>2021-09-20 19:55:40 +0200
committerGitHub <noreply@github.com>2021-09-20 10:55:40 -0700
commit36fe65216518ac13d8cc06fafc6887599818156e (patch)
tree91af927ca65f5ec20812f2019e9ca612207d4ece /ports/libsnoretoast/include_fix.patch
parent50f702b1fec1ffae1c0c1ca1935628334ceb0e47 (diff)
downloadvcpkg-36fe65216518ac13d8cc06fafc6887599818156e.tar.gz
vcpkg-36fe65216518ac13d8cc06fafc6887599818156e.zip
[libsnoretoast] fix absolute include paths (#20229)
* [libsnoretoast] fix absolute include paths * [libsnoretoast] fix versioning scheme * [libsnoretoast] update versions * Fix damage to previous version in the version database. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/libsnoretoast/include_fix.patch')
-rw-r--r--ports/libsnoretoast/include_fix.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/ports/libsnoretoast/include_fix.patch b/ports/libsnoretoast/include_fix.patch
new file mode 100644
index 000000000..e18860368
--- /dev/null
+++ b/ports/libsnoretoast/include_fix.patch
@@ -0,0 +1,28 @@
+From 7564823f8f0bc4d647bf3470ab7a2d8612418f32 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Dawid=20Wr=C3=B3bel?= <me@dawidwrobel.com>
+Date: Fri, 17 Sep 2021 12:30:41 +0000
+Subject: [PATCH] Use relative INTERFACE_INCLUDE location
+
+Using ${CMAKE_INSTALL_PREFIX} hardcodes the installation location,
+instead of having CMake
+use ${_IMPORT_PREFIX}
+---
+ src/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index eef57f7..6c35b71 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ add_library(SnoreToastActions INTERFACE)
+ target_include_directories(SnoreToastActions INTERFACE
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+- $<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include/snoretoast>
++ $<INSTALL_INTERFACE:include/snoretoast>
+ )
+ add_library(SnoreToast::SnoreToastActions ALIAS SnoreToastActions)
+
+--
+GitLab
+