summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/cmakelibcpp
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/cmakelibcpp
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/cmakelibcpp')
-rw-r--r--languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt b/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt
index 3bf28dd3..83f7bd8f 100644
--- a/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt
+++ b/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt
@@ -10,7 +10,7 @@
#################################################
add_custom_target( cmakelibcpp.tar.gz ALL
- COMMAND tar --transform \"flags=r\;s/cmakelibcpp-CMakeLists.txt/CMakeLists.txt/\"
+ COMMAND ${TAR} --transform \"flags=r\;s/cmakelibcpp-CMakeLists.txt/CMakeLists.txt/\"
-zcf cmakelibcpp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
test.cpp lib.h lib.cpp cmakelibcpp.png
cmakelibcpp-CMakeLists.txt CMakeLists.txt.src