From 8cf0c79d018669b9b424d543dbf901a3124a8b2f Mon Sep 17 00:00:00 2001 From: Tomáš Chvátal Date: Sat, 23 May 2009 13:45:54 +0200 Subject: Switch to gzip, so xHire is happy that it will work on windows too. --- cmake/FindBZIP2.cmake | 12 ------------ cmake/FindGZIP.cmake | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 12 deletions(-) delete mode 100644 cmake/FindBZIP2.cmake create mode 100644 cmake/FindGZIP.cmake (limited to 'cmake') diff --git a/cmake/FindBZIP2.cmake b/cmake/FindBZIP2.cmake deleted file mode 100644 index 6b26aa1..0000000 --- a/cmake/FindBZIP2.cmake +++ /dev/null @@ -1,12 +0,0 @@ -# This scripts search up bzip2 binary and put it to the -# BZIP2_TOOL varable. -FIND_PROGRAM(BZIP2_TOOL - NAMES bzip2 - PATHS - /bin - /usr/bin - /usr/local/bin -) -IF(NOT BZIP2_TOOL) - MESSAGE(FATAL_ERROR "Unable to find 'bzip2' executable") -ENDIF(NOT BZIP2_TOOL) diff --git a/cmake/FindGZIP.cmake b/cmake/FindGZIP.cmake new file mode 100644 index 0000000..ca15d5a --- /dev/null +++ b/cmake/FindGZIP.cmake @@ -0,0 +1,14 @@ +# This scripts search up bzip2 binary and put it to the +# GZIP_TOOL varable. +FIND_PROGRAM(GZIP_TOOL + NAMES gzip + PATHS + /bin + /usr/bin + /usr/local/bin +) +IF(NOT GZIP_TOOL) + IF(GZIP_REQUIRED) + MESSAGE(FATAL_ERROR "Unable to find 'gzip' executable") + ENDIF(GZIP_REQUIRED) +ENDIF(NOT GZIP_TOOL) -- cgit v1.2.3