Establish `api/` as the home for installed headers.
[alexxy/gromacs.git] / src / gromacs / modularsimulator / CMakeLists.txt
index ac50973e41ceb9cd2278ad4afb69a58d2050a519..30614ffac87ece02862f1a4f137d244fc2439e10 100644 (file)
@@ -40,6 +40,7 @@ gmx_target_compile_options(modularsimulator)
 target_compile_definitions(modularsimulator PRIVATE HAVE_CONFIG_H)
 # Should be possible to remove this when resolving #3290
 target_include_directories(modularsimulator SYSTEM BEFORE PRIVATE ${PROJECT_SOURCE_DIR}/src/external/thread_mpi/include)
+target_link_libraries(modularsimulator PRIVATE legacy_api)
 
 if(GMX_OPENMP)
     # Explicitly set properties for modular simulator module to compile with openmp