[chrome-gnome-shell] cmake: use xz found by cmake
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell] cmake: use xz found by cmake
- Date: Sat, 12 Mar 2016 23:10:46 +0000 (UTC)
commit 5e865d706062606e1ae8ffa0fed71b1a87ef3114
Author: Yuri Konotopov <ykonotopov gmail com>
Date: Sun Mar 13 02:03:08 2016 +0300
cmake: use xz found by cmake
CMakeLists.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95abc3e..40e0aef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,7 +50,7 @@ find_program(XZ xz)
if(XZ)
# http://agateau.com/2009/cmake-and-make-dist-the-simple-version/
add_custom_target(dist
- COMMAND git archive --prefix=${ARCHIVE_NAME}/ HEAD | xz -z >
${CMAKE_BINARY_DIR}/${ARCHIVE_FULL_NAME}
+ COMMAND git archive --prefix=${ARCHIVE_NAME}/ HEAD | ${XZ} -z >
${CMAKE_BINARY_DIR}/${ARCHIVE_FULL_NAME}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
else(XZ)
message(WARNING "XZ utils not found. Dist target will not be generated.")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]