link netgen_python instead of ${PYTHON_LIBRARIES}

This commit is contained in:
Christopher Lackner 2021-09-29 10:19:02 +02:00
parent a8da814c19
commit 596643a33c

View File

@ -28,7 +28,7 @@ endmacro()
add_unit_test(archive archive.cpp) add_unit_test(archive archive.cpp)
if(USE_PYTHON) if(USE_PYTHON)
# RegisterForArchive needs Python.h if built with 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) endif(USE_PYTHON)
add_unit_test(array array.cpp) add_unit_test(array array.cpp)
add_unit_test(ranges ranges.cpp) add_unit_test(ranges ranges.cpp)