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
|