mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
link netgen_python instead of ${PYTHON_LIBRARIES}
This commit is contained in:
parent
a8da814c19
commit
596643a33c
@ -28,7 +28,7 @@ endmacro()
|
||||
add_unit_test(archive archive.cpp)
|
||||
if(USE_PYTHON)
|
||||
# RegisterForArchive needs Python.h if built with Python
|
||||
target_link_libraries(test_archive ${PYTHON_LIBRARIES})
|
||||
target_link_libraries(test_archive netgen_python)
|
||||
endif(USE_PYTHON)
|
||||
add_unit_test(array array.cpp)
|
||||
add_unit_test(ranges ranges.cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user