More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / topology / CMakeLists.txt
index dc207a7321d0e61601f22f23ea4f4cc59f4845e3..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
     idef.h
+    index.h
+    mtop_util.h
     symtab.h
-    topology.h)
-
-gmx_install_headers(topology ${TOPOLOGY_PUBLIC_HEADERS})
+    topology.h
+    )
 
 if (BUILD_TESTING)
 #    add_subdirectory(tests)