More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / listed-forces / CMakeLists.txt
index 721f4fbde2cce5640315e379a5d2955f4982901f..605799ebafaf9e3f1089756d2ea83326534f6365 100644 (file)
 file(GLOB LISTED_FORCES_SOURCES *.cpp)
 set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${LISTED_FORCES_SOURCES} PARENT_SCOPE)
 
-set(LISTED_FORCES_PUBLIC_HEADERS
-    bonded.h)
-
-gmx_install_headers(listed-forces ${LISTED_FORCES_PUBLIC_HEADERS})
+gmx_install_headers(
+    bonded.h
+    )
 
 if (BUILD_TESTING)
 #    add_subdirectory(tests)