diff options
author | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-09 20:13:03 +0000 |
---|---|---|
committer | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-09 20:13:03 +0000 |
commit | 5b7990aae67057ebec871674df8ec83426ea0cd4 (patch) | |
tree | 507c9289072d723772996d7979e449b82776cc16 /cpack.cmake | |
parent | eabf20ce9223b416a14a931d097f29a858100105 (diff) | |
download | navit-5b7990aae67057ebec871674df8ec83426ea0cd4.tar.gz |
Fix:core:Set CPACK_INCLUDE_TOPLEVEL_DIRECTORY only for zip cpack generator, otherwise it breaks NSIS package generation when strict settings are active.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5936 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'cpack.cmake')
-rw-r--r-- | cpack.cmake | 4 |
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") + |