summaryrefslogtreecommitdiffstats
path: root/host/lib
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/lib
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/lib')
-rw-r--r--host/lib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt
index e65a2d2ba..8ca7c7dca 100644
--- a/host/lib/CMakeLists.txt
+++ b/host/lib/CMakeLists.txt
@@ -90,7 +90,7 @@ IF(UNIX)
FILE(TO_NATIVE_PATH /usr/${PKG_DATA_DIR} INSTALLER_PKG_DATA_DIR)
ELSE()
#for the NSIS installer, this will be the default path for package data
- FILE(TO_NATIVE_PATH "${CMAKE_INSTALL_PREFIX} ${UHD_VERSION}/${PKG_DATA_DIR}" INSTALLER_PKG_DATA_DIR)
+ FILE(TO_NATIVE_PATH "${CMAKE_INSTALL_PREFIX}/${PKG_DATA_DIR}" INSTALLER_PKG_DATA_DIR)
ENDIF()
STRING(REPLACE "\\" "\\\\" INSTALLER_PKG_DATA_DIR ${INSTALLER_PKG_DATA_DIR})
MESSAGE(STATUS "Installer package data directory: ${INSTALLER_PKG_DATA_DIR}")