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