aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/stackwalker/fix-exports.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/stackwalker/fix-exports.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/stackwalker/fix-exports.patch')
-rw-r--r--vcpkg/ports/stackwalker/fix-exports.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/vcpkg/ports/stackwalker/fix-exports.patch b/vcpkg/ports/stackwalker/fix-exports.patch
new file mode 100644
index 0000000..3ff79bd
--- /dev/null
+++ b/vcpkg/ports/stackwalker/fix-exports.patch
@@ -0,0 +1,28 @@
+diff --git "a/CMakeLists.txt" "b/CMakeLists.txt"
+index 82f0206a2..8160fd789 100644
+--- "a/CMakeLists.txt"
++++ "b/CMakeLists.txt"
+@@ -79,12 +79,13 @@ add_library(${TARGET_StackWalker} STATIC
+ Main/StackWalker/StackWalker.cpp)
+ target_include_directories(${TARGET_StackWalker} PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/Main/StackWalker>
++ $<INSTALL_INTERFACE:include>
+ )
+
+-install(TARGETS "${TARGET_StackWalker}"
+- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++install(TARGETS "${TARGET_StackWalker}" EXPORT stackwalker-config
++ ARCHIVE DESTINATION lib
++ LIBRARY DESTINATION lib
++ RUNTIME DESTINATION bin
+ )
+
+ install(FILES "${CMAKE_SOURCE_DIR}/Main/StackWalker/StackWalker.h"
+@@ -114,3 +115,5 @@ else()
+
+ add_test(NAME ${TARGET_StackWalker_tests} COMMAND ${TARGET_StackWalker_tests})
+ endif()
++
++install(EXPORT stackwalker-config NAMESPACE unofficial::stackwalker:: DESTINATION share/stackwalker)