summaryrefslogtreecommitdiffstats
path: root/host/Modules/UHDPackage.cmake
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-04-04 16:22:38 -0700
committerJosh Blum <josh@joshknows.com>2011-04-04 16:22:38 -0700
commitdcd555636c282ac0454b463c91d360ce062e316d (patch)
tree8d26c23a40b68f7816814c81bdbe0ae820e8bff3 /host/Modules/UHDPackage.cmake
parent1ba366a94ef70980fb5db5dd0142c3d3596ef9aa (diff)
downloaduhd-dcd555636c282ac0454b463c91d360ce062e316d.tar.gz
uhd-dcd555636c282ac0454b463c91d360ce062e316d.tar.bz2
uhd-dcd555636c282ac0454b463c91d360ce062e316d.zip
uhd: set CPACK_PACKAGE_INSTALL_DIRECTORY on NSIS so we dont get an inconsistent version suffix
Diffstat (limited to 'host/Modules/UHDPackage.cmake')
-rw-r--r--host/Modules/UHDPackage.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/Modules/UHDPackage.cmake b/host/Modules/UHDPackage.cmake
index 4986e314c..bf31df3b3 100644
--- a/host/Modules/UHDPackage.cmake
+++ b/host/Modules/UHDPackage.cmake
@@ -69,6 +69,10 @@ IF(UHD_RELEASE_MODE)
ENDIF(LSB_RELEASE_EXECUTABLE)
+ IF(${CPACK_GENERATOR} STREQUAL NSIS)
+ SET(CPACK_PACKAGE_INSTALL_DIRECTORY "${CMAKE_PROJECT_NAME}")
+ ENDIF()
+
ENDIF(UHD_RELEASE_MODE)
########################################################################