cmake: fixed typo in template CMakeLists.txt
authorChristoph Junghans <junghans@votca.org>
Sat, 2 Feb 2013 01:46:46 +0000 (18:46 -0700)
committerChristoph Junghans <junghans@votca.org>
Sat, 2 Feb 2013 01:46:46 +0000 (18:46 -0700)
* prevented build after make clean, when build was used before

Change-Id: I0ba88b36752801c3d492d46c71327fb966edb508

share/template/CMakeLists.txt

index 3d676a9cff3efe738c7880149a935920f66a57d5..a72f4f55abcf221c761c3d4432a94c3da95f2cb9 100644 (file)
@@ -37,7 +37,7 @@ install(FILES CMakeLists.txt.template
         RENAME CMakeLists.txt
         COMPONENT development)
 
-file(GLOB_RECURSE GROMACS_HEADERS ${CMAKE_SOURCE_DIR}/include *.h)
+file(GLOB_RECURSE GROMACS_HEADERS ${CMAKE_SOURCE_DIR}/include/*.h)
 add_custom_command(OUTPUT gromacs
     COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/include gromacs 
     DEPENDS ${GROMACS_HEADERS})