More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / timing / CMakeLists.txt
index e73a1115a948308c939c3146d69b033f571906cb..f0a5af0a1b4e7a58d693ec80898d4e1b95dcd558 100644 (file)
 file(GLOB TIMING_SOURCES *.cpp *.c)
 set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${TIMING_SOURCES} PARENT_SCOPE)
 
-set(TIMING_PUBLIC_HEADERS
-    walltime_accounting.h)
-gmx_install_headers(timing ${TIMING_PUBLIC_HEADERS})
+gmx_install_headers(
+    wallcycle.h
+    walltime_accounting.h
+    )
 
 if (BUILD_TESTING)
 #    add_subdirectory(tests)