From: Michael Wallner Date: Fri, 11 Dec 2020 20:15:59 +0000 (+0100) Subject: cpack: generate the shell install only on UNIX X-Git-Tag: 1.1.0-beta1~65 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=caf2219d302e8554f3b9bf39ab94f736e8427ef6;p=m6w6%2Flibmemcached cpack: generate the shell install only on UNIX --- diff --git a/CPack.txt b/CPack.txt index fae9db37..2e31163b 100644 --- a/CPack.txt +++ b/CPack.txt @@ -19,8 +19,11 @@ if(EXISTS /usr/bin/dnf OR EXISTS /usr/bin/yum OR EXISTS /usr/bin/rpm-build) set(CPACK_BINARY_RPM ON) endif() +if (EXISTS CPackNSIS.txt) + include(CPackNSIS.txt) + # shell installer -set(CPACK_BINARY_STGZ ON) +set(CPACK_BINARY_STGZ ${UNIX}) # binary archive set(CPACK_BINARY_TBZ2 0)