Merge branch 'release-2020' into master
[alexxy/gromacs.git] / src / gromacs / math / CMakeLists.txt
index e0c2fadac8b37adae2ef3a9d7b256aa7395297be..16d6ccd7408227be68d04e515f169c1a4d290314 100644 (file)
@@ -38,9 +38,23 @@ set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${MATH_SOURCES} PARENT_SCOPE)
 
 # TODO: (https://gitlab.com/gromacs/gromacs/-/issues/988) Find a new convention for defining public API.
 install(FILES
+       do_fit.h
+       functions.h
+       units.h
+       utilities.h
+       vec.h
         vectypes.h
         DESTINATION include/gromacs/math)
 
+if(GMX_INSTALL_LEGACY_API)
+  install(FILES
+         do_fit.h
+         units.h
+         utilities.h
+          DESTINATION include/gromacs/math)
+endif()
+
+
 if (BUILD_TESTING)
     add_subdirectory(tests)
 endif()