From 43a2a82e847e15551a72adf456dfe645e20fed82 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Mon, 17 Mar 2014 09:29:26 -0700 Subject: cmake: added CPACK_SET_DESTDIR variable for consistent CMAKE_INSTALL_PREFIX usage in packaging --- host/cmake/Modules/UHDPackage.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host') 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 -- cgit v1.2.3