From 1fafa273329c2c4be693a85649a51b8f2364e236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 29 Jun 2015 18:28:40 +0200 Subject: Add gnu tar detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 9097720c1da8fe553e05e5e7289f8cea4ac76fa2) --- languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'languages/cpp/app_templates/cmakelibcpp') 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 -- cgit v1.2.1