Skip to content
Snippets Groups Projects
Commit 8e797b61 authored by AlQuemist's avatar AlQuemist
Browse files

rm Numpy from cmake/multipython/SwigLib.cmake

parent 9e5bb983
No related branches found
No related tags found
1 merge request!2724Remove Numpy C-API from the build mechanism (Major change)
...@@ -80,8 +80,8 @@ function(SwigLib lib swigtmpdir include_files) ...@@ -80,8 +80,8 @@ function(SwigLib lib swigtmpdir include_files)
COMMENT "SWIG: use Python wrapper ${AUTO_WRAP_DIR}/lib${lib}.py" COMMENT "SWIG: use Python wrapper ${AUTO_WRAP_DIR}/lib${lib}.py"
) )
# include Python and Numpy headers and link to Python shared library # include Python headers and link to Python shared library
target_include_directories(${lib} PRIVATE ${Python3_INCLUDE_DIRS} ${Python3_NumPy_INCLUDE_DIRS}) target_include_directories(${lib} PRIVATE ${Python3_INCLUDE_DIRS})
target_link_libraries(${lib} PRIVATE ${Python3_LIBRARIES}) target_link_libraries(${lib} PRIVATE ${Python3_LIBRARIES})
set_target_properties(${lib} PROPERTIES set_target_properties(${lib} PROPERTIES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment