mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
link nglib and not mesh for windows
This commit is contained in:
parent
ff3e88e024
commit
878d68fd77
@ -14,7 +14,7 @@ add_test(NAME unit_tests_built COMMAND ${CMAKE_COMMAND} --build . --target unit_
|
|||||||
|
|
||||||
macro(add_unit_test name sources)
|
macro(add_unit_test name sources)
|
||||||
add_executable(test_${name} ${sources} )
|
add_executable(test_${name} ${sources} )
|
||||||
target_link_libraries(test_${name} ngcore catch_main mesh ${PYTHON_LIBRARIES})
|
target_link_libraries(test_${name} ngcore catch_main nglib ${PYTHON_LIBRARIES})
|
||||||
|
|
||||||
add_dependencies(unit_tests test_${name})
|
add_dependencies(unit_tests test_${name})
|
||||||
add_test(NAME unit_${name} COMMAND test_${name})
|
add_test(NAME unit_${name} COMMAND test_${name})
|
||||||
|
Loading…
Reference in New Issue
Block a user