summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorTomáš Chvátal <scarabeus@gentoo.org>2009-05-23 13:45:54 +0200
committerTomáš Chvátal <scarabeus@gentoo.org>2009-05-23 13:45:54 +0200
commit8cf0c79d018669b9b424d543dbf901a3124a8b2f (patch)
tree36a77397334e087f523c1e8a411d805257d62883 /cmake
parent1a20b9d154051db97fe1bb72dba6e521db670d32 (diff)
Switch to gzip, so xHire is happy that it will work on windows too.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindBZIP2.cmake12
-rw-r--r--cmake/FindGZIP.cmake14
2 files changed, 14 insertions, 12 deletions
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)