More robust handling for installed headers
[alexxy/gromacs.git] / src / gromacs / swap / CMakeLists.txt
index 547143bddf45df1aa51a7ca283effb7f9bf42201..909c5c3f729ed0d36cac4186521187202b30ac8a 100644 (file)
@@ -32,9 +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)
 
-set(SWAP_PUBLIC_HEADERS
-    swapcoords.h)
-gmx_install_headers(timing ${SWAP_PUBLIC_HEADERS})
+gmx_install_headers(enums.h)