More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / timing / CMakeLists.txt
index 34e002a9ab0c2f2554c371bcdd53404f21474956..f0a5af0a1b4e7a58d693ec80898d4e1b95dcd558 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2013, by the GROMACS development team, led by
+# Copyright (c) 2013,2014, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
 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)
-endif (BUILD_TESTING)
+endif()