diff options
Diffstat (limited to 'languages/cpp/app_templates/cmakesimplec/CMakeLists.txt')
-rw-r--r-- | languages/cpp/app_templates/cmakesimplec/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt b/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt index 4d07a4d6..72b9b610 100644 --- a/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt +++ b/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt @@ -10,8 +10,9 @@ ################################################# add_custom_target( cmakesimplec.tar.gz ALL - COMMAND tar zcf cmakesimplec.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} - main.c cmakesimplec.png cmakesimplec-CMakeLists.txt + COMMAND tar --transform \"flags=r\;s/cmakesimplec-CMakeLists.txt/CMakeLists.txt/\" + -zcf cmakesimplec.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + main.c cmakesimplec.png cmakesimplec-CMakeLists.txt ) |