More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / linearalgebra / CMakeLists.txt
index 6a8cc1925555255a37a1cec2069fbf2d6b1cd24d..c0c1ed82f44b9724e2493b0d88d4caffb0f0f7f3 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2012,2013, by the GROMACS development team, led by
+# Copyright (c) 2012,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.
@@ -48,9 +48,8 @@ set(LINEARALGEBRA_SOURCES
 set(LIBGROMACS_SOURCES
     ${LIBGROMACS_SOURCES} ${LINEARALGEBRA_SOURCES} PARENT_SCOPE)
 
-set(LINEARALGEBRA_PUBLIC_HEADERS
+gmx_install_headers(
     eigensolver.h
     matrix.h
-    mtxio.h
-    sparsematrix.h)
-gmx_install_headers(linearalgebra ${LINEARALGEBRA_PUBLIC_HEADERS})
+    sparsematrix.h
+    )