From f00c67d8693d52a06b6909581c6f24f532e23e78 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Fri, 12 Jan 2024 14:15:25 +0100 Subject: [PATCH] Add missing patch Contribute to CURA-11482 --- .../0002-build-debug-symbols-on-windows-6.x.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes/clipper/all/patches/0002-build-debug-symbols-on-windows-6.x.patch diff --git a/recipes/clipper/all/patches/0002-build-debug-symbols-on-windows-6.x.patch b/recipes/clipper/all/patches/0002-build-debug-symbols-on-windows-6.x.patch new file mode 100644 index 0000000..3637c3c --- /dev/null +++ b/recipes/clipper/all/patches/0002-build-debug-symbols-on-windows-6.x.patch @@ -0,0 +1,12 @@ +diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt +--- a/cpp/CMakeLists.txt ++++ b/cpp/CMakeLists.txt +@@ -19,3 +19,7 @@ + INSTALL (FILES "${PCFILE}" DESTINATION "${CMAKE_INSTALL_PKGCONFIGDIR}") + + SET_TARGET_PROPERTIES(polyclipping PROPERTIES VERSION 22.0.0 SOVERSION 22 ) ++option(ENABLE_SENTRY "Send crash data via Sentry" OFF) ++if(WIN32 AND ENABLE_SENTRY) ++ set_target_properties(polyclipping PROPERTIES LINK_FLAGS "/DEBUG:FULL") ++endif() +\ No newline at end of file