Establish `api/` as the home for installed headers.
[alexxy/gromacs.git] / src / programs / mdrun / tests / CMakeLists.txt
index b051068c0670184835bd4dda10d283a2b7e00d10..7c0a67a76338a2a80a11f88ced44d27e30d29148 100644 (file)
@@ -47,6 +47,7 @@ gmx_add_unit_test_library(mdrun_test_infrastructure
     $<TARGET_OBJECTS:mdrun_objlib>
     )
 target_include_directories(mdrun_test_infrastructure SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/src/external)
+target_link_libraries(mdrun_test_infrastructure PUBLIC legacy_api)
 
 # To avoid running into test timeouts, some end-to-end tests of mdrun
 # functionality are split off. This can be rearranged in future as we