summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-29 13:49:20 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-06-29 13:49:29 (GMT)
commit1ac89a4e06f73a5e460f21866b3b28c2f8af31d9 (patch)
treedf990bf44705764e85165f4f26e2a35d098eb851 /Modules
parenta9b88ffdfccebcbf4c565378722812b19c847bbb (diff)
parent5299141320c7be96e9357ebd457c9a279308248a (diff)
downloadCMake-1ac89a4e06f73a5e460f21866b3b28c2f8af31d9.zip
CMake-1ac89a4e06f73a5e460f21866b3b28c2f8af31d9.tar.gz
CMake-1ac89a4e06f73a5e460f21866b3b28c2f8af31d9.tar.bz2
Merge topic 'deb-on-windows'
52991413 CPackDeb: Enable the DEB generator on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !979
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPackDeb.cmake14
1 files changed, 10 insertions, 4 deletions
diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake
index ddf8b23..daba7d5 100644
--- a/Modules/CPackDeb.cmake
+++ b/Modules/CPackDeb.cmake
@@ -497,6 +497,16 @@
#
# This value is not interpreted. It is possible to pass an optional
# revision number of the referenced source package as well.
+#
+# Building Debian packages on Windows
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+#
+# To communicate UNIX file permissions from the install stage
+# to the CPack DEB generator the "cmake_mode_t" NTFS
+# alternate data stream (ADT) is used.
+#
+# When a filesystem without ADT support is used only owner read/write
+# permissions can be preserved.
# CPack script for creating Debian package
# Author: Mathieu Malaterre
@@ -507,10 +517,6 @@ if(CMAKE_BINARY_DIR)
message(FATAL_ERROR "CPackDeb.cmake may only be used by CPack internally.")
endif()
-if(NOT UNIX)
- message(FATAL_ERROR "CPackDeb.cmake may only be used under UNIX.")
-endif()
-
function(cpack_deb_variable_fallback OUTPUT_VAR_NAME)
set(FALLBACK_VAR_NAMES ${ARGN})