summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-17 11:22:36 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-17 11:22:36 +0200
commitf97698d16f9523ed04555d9a5ba0fff5d22ba05c (patch)
tree8c9194f8dbc67d8a73d525f212da4cbb99baca46
parent69e9fbf84676e6f0b8d92a9df47f04a2077077b4 (diff)
fix tarball target
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b8b7f61a..992ea9ac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -206,8 +206,8 @@ string(REPLACE "/" "-" filename-branch "${filename-branch_1}")
set(filename_0 "${OPENTRACK_COMMIT}")
set(filename "${CMAKE_BINARY_DIR}/${filename_0}.zip")
-add_custom_command(OUTPUT ${filename} COMMAND env sh "${CMAKE_SOURCE_DIR}/make-tar.sh" "${CMAKE_INSTALL_PREFIX}" "${filename}")
-add_custom_target(tarball)
+add_custom_command(OUTPUT ${filename} COMMAND /usr/bin/env sh "${CMAKE_SOURCE_DIR}/make-tar.sh" "${CMAKE_INSTALL_PREFIX}" "${filename}")
+add_custom_target(tarball DEPENDS "${filename}")
opentrack_module(opentrack-api opentrack)