aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2014-03-21 09:56:27 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2014-03-21 09:58:21 -0700
commite1c329059d7dc6a1521a33bde8aab62606df1b17 (patch)
tree1ca3338af3c08483ce59cff2ac9465195ebb4336 /host/cmake
parent847b7a631f5e73d732c88a4b4aa91595cf4e4a07 (diff)
downloaduhd-e1c329059d7dc6a1521a33bde8aab62606df1b17.tar.gz
uhd-e1c329059d7dc6a1521a33bde8aab62606df1b17.tar.bz2
uhd-e1c329059d7dc6a1521a33bde8aab62606df1b17.zip
cmake: don't set CPACK_SET_DESTDIR with NSIS
Diffstat (limited to 'host/cmake')
-rw-r--r--host/cmake/Modules/UHDPackage.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDPackage.cmake b/host/cmake/Modules/UHDPackage.cmake
index 4aea557c8..a98a52fc7 100644
--- a/host/cmake/Modules/UHDPackage.cmake
+++ b/host/cmake/Modules/UHDPackage.cmake
@@ -200,5 +200,7 @@ IF(MSVC)
ENDIF(MSVC)
########################################################################
-SET(CPACK_SET_DESTDIR "ON")
+IF(NOT ${CPACK_GENERATOR} STREQUAL NSIS)
+ SET(CPACK_SET_DESTDIR "ON")
+ENDIF(NOT ${CPACK_GENERATOR} STREQUAL NSIS)
INCLUDE(CPack) #include after setting vars