summaryrefslogtreecommitdiffstats
path: root/Modules/CPackDeb.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-25 14:57:33 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-25 14:57:33 (GMT)
commita39aff52a033943242296bacc193741b0101377d (patch)
tree1ed04854e79820eafa28c5a727f6478c46586d12 /Modules/CPackDeb.cmake
parentf4ac0f8373aeb96aae4cd24359586bf1a18c7f7b (diff)
downloadCMake-a39aff52a033943242296bacc193741b0101377d.zip
CMake-a39aff52a033943242296bacc193741b0101377d.tar.gz
CMake-a39aff52a033943242296bacc193741b0101377d.tar.bz2
ENH: add an empty debian package generator, Mathieu volunteered to fill it
:-) Alex
Diffstat (limited to 'Modules/CPackDeb.cmake')
-rw-r--r--Modules/CPackDeb.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake
new file mode 100644
index 0000000..e4c123b
--- /dev/null
+++ b/Modules/CPackDeb.cmake
@@ -0,0 +1,10 @@
+IF(CMAKE_BINARY_DIR)
+ MESSAGE(FATAL_ERROR "CPackDeb.cmake may only be used by CPack internally.")
+ENDIF(CMAKE_BINARY_DIR)
+
+IF(NOT UNIX)
+ MESSAGE(FATAL_ERROR "CPackDeb.cmake may only be used under UNIX.")
+ENDIF(NOT UNIX)
+
+FIND_PROGRAM(AR_EXECUTABLE ar)
+