diff --git a/cmake/multipython/SwigLib.cmake b/cmake/multipython/SwigLib.cmake index a89c3e6d7d0f365ef398b53fbd5fda17dd9eccee..5f89a85e5dad6ae26105b3b172b9aa2e4a04b0ef 100644 --- a/cmake/multipython/SwigLib.cmake +++ b/cmake/multipython/SwigLib.cmake @@ -80,8 +80,8 @@ function(SwigLib lib swigtmpdir include_files) COMMENT "SWIG: use Python wrapper ${AUTO_WRAP_DIR}/lib${lib}.py" ) - # include Python and Numpy headers and link to Python shared library - target_include_directories(${lib} PRIVATE ${Python3_INCLUDE_DIRS} ${Python3_NumPy_INCLUDE_DIRS}) + # include Python headers and link to Python shared library + target_include_directories(${lib} PRIVATE ${Python3_INCLUDE_DIRS}) target_link_libraries(${lib} PRIVATE ${Python3_LIBRARIES}) set_target_properties(${lib} PROPERTIES