summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/cmakesimple/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-06-29 18:28:40 +0200
committerSlávek Banko <[email protected]>2015-06-29 18:28:40 +0200
commit9097720c1da8fe553e05e5e7289f8cea4ac76fa2 (patch)
tree528c90fc2b4b784413a3614f9e63c0306c2f4330 /languages/cpp/app_templates/cmakesimple/CMakeLists.txt
parente073bebe73e323022db9b62771f4027d1d9479b6 (diff)
downloadtdevelop-9097720c1da8fe553e05e5e7289f8cea4ac76fa2.tar.gz
tdevelop-9097720c1da8fe553e05e5e7289f8cea4ac76fa2.zip
Add gnu tar detection
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'languages/cpp/app_templates/cmakesimple/CMakeLists.txt')
-rw-r--r--languages/cpp/app_templates/cmakesimple/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/app_templates/cmakesimple/CMakeLists.txt b/languages/cpp/app_templates/cmakesimple/CMakeLists.txt
index 933deb27..00abe0f4 100644
--- a/languages/cpp/app_templates/cmakesimple/CMakeLists.txt
+++ b/languages/cpp/app_templates/cmakesimple/CMakeLists.txt
@@ -10,7 +10,7 @@
#################################################
add_custom_target( cmakesimple.tar.gz ALL
- COMMAND tar --transform \"flags=r\;s/cmakesimple-CMakeLists.txt/CMakeLists.txt/\"
+ COMMAND ${TAR} --transform \"flags=r\;s/cmakesimple-CMakeLists.txt/CMakeLists.txt/\"
-zcf cmakesimple.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
main.cpp cmakesimple.png cmakesimple-CMakeLists.txt README
)