More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / topology / CMakeLists.txt
index fc15abe96d41c352b27110f1487eac2eb2c5bb0e..fc8b5463b9f1045d28f191d21c8315c14dd4ee9c 100644 (file)
 file(GLOB TOPOLOGY_SOURCES *.cpp *.c)
 set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${TOPOLOGY_SOURCES} PARENT_SCOPE)
 
-set(TOPOLOGY_PUBLIC_HEADERS
-    symtab.h)
-
-gmx_install_headers(topology ${TOPOLOGY_PUBLIC_HEADERS})
+gmx_install_headers(
+    atomprop.h
+    atoms.h
+    block.h
+    idef.h
+    index.h
+    mtop_util.h
+    symtab.h
+    topology.h
+    )
 
 if (BUILD_TESTING)
 #    add_subdirectory(tests)