Merge release-4-6 into master
[alexxy/gromacs.git] / share / template / CMakeLists.txt
index 320ab827cb4f87fe55f6b62ff7d62dd4a892c3c0..8e5603f10bf436d3385109774bd86a871c26090d 100644 (file)
@@ -1,9 +1,11 @@
+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.c Makefile.pkg
+install(FILES README template.cpp Makefile.pkg
         DESTINATION ${DATA_INSTALL_DIR}/template
         COMPONENT development)