Merge remote-tracking branch 'origin/release-4-6' into HEAD
[alexxy/gromacs.git] / share / template / CMakeLists.txt
index 6665d1242ed24ef5f151dbfff0258d8fcdf9388e..9d5fd42ca2f6fbf42e6d0ad06038bc76c1932dca 100644 (file)
@@ -1,2 +1,15 @@
 add_executable(template template.cpp)
 target_link_libraries(template libgromacs)
+install(FILES CMakeLists.txt.template
+        DESTINATION ${DATA_INSTALL_DIR}/template
+        RENAME CMakeLists.txt
+        COMPONENT development)
+
+install(FILES README template.cpp Makefile.pkg
+        DESTINATION ${DATA_INSTALL_DIR}/template
+        COMPONENT development)
+
+install(FILES cmake/FindGROMACS.cmake
+        DESTINATION ${DATA_INSTALL_DIR}/template/cmake
+        COMPONENT development)
+