summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/cmakesimple
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-29 18:28:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-06-29 18:33:40 +0200
commit1fafa273329c2c4be693a85649a51b8f2364e236 (patch)
treee1fd686786e7277af307e1233bb6f0b4538fd706 /languages/cpp/app_templates/cmakesimple
parent59301244a25e29e0b3543b90a1a2dcff33faf48a (diff)
downloadtdevelop-1fafa273329c2c4be693a85649a51b8f2364e236.tar.gz
tdevelop-1fafa273329c2c4be693a85649a51b8f2364e236.zip
Add gnu tar detection
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 9097720c1da8fe553e05e5e7289f8cea4ac76fa2)
Diffstat (limited to 'languages/cpp/app_templates/cmakesimple')
-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
)