From caf2219d302e8554f3b9bf39ab94f736e8427ef6 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 11 Dec 2020 21:15:59 +0100 Subject: [PATCH] cpack: generate the shell install only on UNIX --- CPack.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.30.2