mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-25 04:10:33 +05:00
Fix pip build on Windows
This commit is contained in:
parent
f695cbbace
commit
bd5751b26b
@ -321,7 +321,7 @@ if (USE_PYTHON)
|
||||
|
||||
target_include_directories(netgen_python INTERFACE ${pybind11_INCLUDE_DIR} ${Python3_INCLUDE_DIRS})
|
||||
target_include_directories(nglib PRIVATE ${pybind11_INCLUDE_DIR} ${Python3_INCLUDE_DIRS})
|
||||
if(Python3_LIBRARIES AND NOT BUILD_FOR_CONDA)
|
||||
if(Python3_LIBRARIES AND (WIN32 OR NOT BUILD_FOR_CONDA))
|
||||
target_link_libraries(netgen_python INTERFACE ${Python3_LIBRARIES})
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user