summaryrefslogtreecommitdiff
path: root/cpack.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cpack.cmake')
-rw-r--r--cpack.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpack.cmake b/cpack.cmake
new file mode 100644
index 000000000..2bf38e619
--- /dev/null
+++ b/cpack.cmake
@@ -0,0 +1,4 @@
+if(CPACK_GENERATOR=="ZIP")
+ set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 1)
+endif(CPACK_GENERATOR=="ZIP")
+