File: itk-sized-deallocation.patch

package info (click to toggle)
sight 25.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 42,180 kB
  • sloc: cpp: 289,476; xml: 17,257; ansic: 9,878; python: 1,379; sh: 144; makefile: 33
file content (12 lines) | stat: -rw-r--r-- 596 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Description: Fix build failure with ITK 5.4, because of sized-deallocation
Author: Flavien Bridault <fbridault@ircad.fr>
Forwarded: https://git.ircad.fr/sight/sight/-/issues/1415

--- a/lib/filter/image/CMakeLists.txt
+++ b/lib/filter/image/CMakeLists.txt
@@ -1,4 +1,4 @@
-sight_add_target(filter_image TYPE LIBRARY FAST_DEBUG ON)
+sight_add_target(filter_image TYPE LIBRARY FAST_DEBUG ON PCH OFF)
 
 # On windows for a strange reason the VXL "core" directory (needed by itkArray.h) is not exported by ITK
 # Mark it as a private system directory to avoid putting hardcoded paths in .cmake files