summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerators.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-18 13:00:33 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-18 13:00:33 (GMT)
commitef81ac50e5d6e981088c00e822fde538d9da9e37 (patch)
treed35cdfb24250eb7a6338df1caed241c53708c377 /Source/CPack/cmCPackGenerators.cxx
parentdbbd5214612faeb65c24a715bfaa35a6c0e63e06 (diff)
downloadCMake-ef81ac50e5d6e981088c00e822fde538d9da9e37.zip
CMake-ef81ac50e5d6e981088c00e822fde538d9da9e37.tar.gz
CMake-ef81ac50e5d6e981088c00e822fde538d9da9e37.tar.bz2
ENH: NSIS exists also for Linux, not only Windows, so enable it there too
patch by Michal Čihař <michal (AT) cihar.com> Alex
Diffstat (limited to 'Source/CPack/cmCPackGenerators.cxx')
-rw-r--r--Source/CPack/cmCPackGenerators.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/CPack/cmCPackGenerators.cxx b/Source/CPack/cmCPackGenerators.cxx
index e94fb33..629156a 100644
--- a/Source/CPack/cmCPackGenerators.cxx
+++ b/Source/CPack/cmCPackGenerators.cxx
@@ -23,9 +23,7 @@
#include "cmCPackTarCompressGenerator.h"
#include "cmCPackZIPGenerator.h"
#include "cmCPackSTGZGenerator.h"
-#ifdef _WIN32
-# include "cmCPackNSISGenerator.h"
-#endif
+#include "cmCPackNSISGenerator.h"
#ifdef __APPLE__
# include "cmCPackPackageMakerGenerator.h"
# include "cmCPackOSXX11Generator.h"
@@ -45,10 +43,8 @@ cmCPackGenerators::cmCPackGenerators()
cmCPackTGZGenerator::CreateGenerator);
this->RegisterGenerator("STGZ", "Self extracting Tar GZip compression",
cmCPackSTGZGenerator::CreateGenerator);
-#ifdef _WIN32
this->RegisterGenerator("NSIS", "Null Soft Installer",
cmCPackNSISGenerator::CreateGenerator);
-#endif
#ifdef __CYGWIN__
this->RegisterGenerator("CygwinBinary", "Cygwin Binary Installer",
cmCPackCygwinBinaryGenerator::CreateGenerator);