link nglib and not mesh for windows

This commit is contained in:
Christopher Lackner 2019-08-22 10:29:42 +02:00
parent ff3e88e024
commit 878d68fd77

View File

@ -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})