aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2014-03-17 09:29:26 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2014-03-17 09:29:26 -0700
commit43a2a82e847e15551a72adf456dfe645e20fed82 (patch)
tree43905cd60490671a11ca2332fb97171f38f59ae2 /host/cmake/Modules
parent94a41d904219001c79aa4e1e84b44c540eb84566 (diff)
downloaduhd-43a2a82e847e15551a72adf456dfe645e20fed82.tar.gz
uhd-43a2a82e847e15551a72adf456dfe645e20fed82.tar.bz2
uhd-43a2a82e847e15551a72adf456dfe645e20fed82.zip
cmake: added CPACK_SET_DESTDIR variable for consistent CMAKE_INSTALL_PREFIX usage in packaging
Diffstat (limited to 'host/cmake/Modules')
-rw-r--r--host/cmake/Modules/UHDPackage.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDPackage.cmake b/host/cmake/Modules/UHDPackage.cmake
index 44a8f3622..4aea557c8 100644
--- a/host/cmake/Modules/UHDPackage.cmake
+++ b/host/cmake/Modules/UHDPackage.cmake
@@ -1,5 +1,5 @@
#
-# Copyright 2010-2013 Ettus Research LLC
+# Copyright 2010-2014 Ettus Research LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -200,4 +200,5 @@ IF(MSVC)
ENDIF(MSVC)
########################################################################
+SET(CPACK_SET_DESTDIR "ON")
INCLUDE(CPack) #include after setting vars