summaryrefslogtreecommitdiffstats
path: root/host/CMakeLists.txt
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2012-06-29 10:50:48 -0700
committerJosh Blum <josh@joshknows.com>2012-07-02 10:39:36 -0700
commit916b0b8036850a7393d779a8d2ad12ff44600684 (patch)
tree7b11e77e9bf30b6d2d43de67e20a0adf5bac166b /host/CMakeLists.txt
parent3079b5715d8400558673374269310e49c1252a1f (diff)
downloaduhd-916b0b8036850a7393d779a8d2ad12ff44600684.tar.gz
uhd-916b0b8036850a7393d779a8d2ad12ff44600684.tar.bz2
uhd-916b0b8036850a7393d779a8d2ad12ff44600684.zip
cmake: got rid of remaining references of UHD_RELEASE_MODE being treated as a boolean
Diffstat (limited to 'host/CMakeLists.txt')
-rw-r--r--host/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index f14c0bd7c..55fd5630f 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -70,6 +70,9 @@ IF(NOT CMAKE_BUILD_TYPE)
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)
+
IF(CMAKE_COMPILER_IS_GNUCXX)
ADD_DEFINITIONS(-Wall)
ADD_DEFINITIONS(-Wextra)