More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / gmxana / CMakeLists.txt
index 89a289ce893f6a83a9d1c5f0598b23e23d4c8c12..19772897542846ae9505d66fffe081a59a3449fd 100644 (file)
@@ -1,10 +1,10 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2013, by the GROMACS development team, led by
-# David van der Spoel, Berk Hess, Erik Lindahl, and including many
-# others, as listed in the AUTHORS file in the top-level source
-# directory and at http://www.gromacs.org.
+# 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.
 #
 # GROMACS is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public License
 
 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()