More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / swap / CMakeLists.txt
index 093d6e74eeb2df0c341974bd35e3ee3d9b86a06e..909c5c3f729ed0d36cac4186521187202b30ac8a 100644 (file)
@@ -32,5 +32,7 @@
 # To help us fund GROMACS development, we humbly ask that you cite
 # the research papers on the package. Check out http://www.gromacs.org.
 
-file(GLOB SWAP_SOURCES *.cpp *.c)
+file(GLOB SWAP_SOURCES *.cpp)
 set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${SWAP_SOURCES} PARENT_SCOPE)
+
+gmx_install_headers(enums.h)