Skip to content

Commit bd26d16

Browse files
blowekampthewtex
authored andcommitted
BUG: Include python paths some wrapped modules
For modules that use Python.h, explicitly include Python's path for cast xml.
1 parent 5efc2e5 commit bd26d16

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Modules/Bridge/NumPy/wrapping/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
if(ITK_WRAP_PYTHON)
22
itk_wrap_module(ITKBridgeNumPy)
3+
list(APPEND WRAPPER_LIBRARY_INCLUDE_DIRECTORIES ${Python3_INCLUDE_DIRS})
34
set(
45
WRAPPER_SUBMODULE_ORDER
56
itkPyBuffer

Modules/Core/Common/wrapping/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
itk_wrap_module(ITKCommon)
2-
2+
list(APPEND WRAPPER_LIBRARY_INCLUDE_DIRECTORIES ${Python3_INCLUDE_DIRS})
33
set(
44
WRAPPER_SUBMODULE_ORDER
55
itkFixedArray

0 commit comments

Comments
 (0)