More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / gmxana / CMakeLists.txt
index 1eb7c166448215c0a16d39c1b9b7dbce352126d8..19772897542846ae9505d66fffe081a59a3449fd 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 GMXANA_SOURCES *.c *.cpp)
 
+gmx_install_headers(
+    gstat.h
+    )
+
 set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${GMXANA_SOURCES} PARENT_SCOPE)
 
 if(BUILD_TESTING)
     add_subdirectory(legacytests)
-endif(BUILD_TESTING)
+endif()