From 8ea5966f7abbfcc12ec38a3d4532929762c80064 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Mon, 12 Nov 2012 09:34:06 -0800 Subject: cmake: UHD_RELEASE_MODE is now cached and no longer resets between CMake runs --- host/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 55fd5630f..ba532eed2 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -71,7 +71,7 @@ ENDIF(NOT CMAKE_BUILD_TYPE) SET(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING "") #force UHD_RELEASE_MODE to be a string for cmake-gui -SET(UHD_RELEASE_MODE CACHE STRING "${UHD_RELEASE_MODE}" FORCE) +SET(UHD_RELEASE_MODE "${UHD_RELEASE_MODE}" CACHE STRING "UHD Release Mode") IF(CMAKE_COMPILER_IS_GNUCXX) ADD_DEFINITIONS(-Wall) -- cgit v1.2.3