Provide a catch-all target for library modules.
[alexxy/gromacs.git] / src / programs / mdrun / tests / CMakeLists.txt
index 7c0a67a76338a2a80a11f88ced44d27e30d29148..4a7774237f16fb8d09fbae753fc90c7beb4b1dd9 100644 (file)
@@ -231,4 +231,6 @@ gmx_add_gtest_executable(${exename}
         $<TARGET_OBJECTS:mdrun_objlib>
 )
 target_link_libraries(${exename} PRIVATE mdrun_test_infrastructure)
+# TODO: Link specific modules: topology
+target_link_libraries(${exename} PRIVATE legacy_modules)
 gmx_register_gtest_test(${testname} ${exename} OPENMP_THREADS 2 INTEGRATION_TEST IGNORE_LEAKS)