summaryrefslogtreecommitdiffstats
path: root/host/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-13 18:07:40 -0700
committerJosh Blum <josh@joshknows.com>2011-03-13 18:07:40 -0700
commit663af458b155a434fa45de8bc3f8de63cfaffcdb (patch)
tree42ab9bc0894b01f49d75e5401cbc48b2c23b589d /host/CMakeLists.txt
parent93aae6f5f4771eff2e2246e48ac37df0a8e74d30 (diff)
downloaduhd-663af458b155a434fa45de8bc3f8de63cfaffcdb.tar.gz
uhd-663af458b155a434fa45de8bc3f8de63cfaffcdb.tar.bz2
uhd-663af458b155a434fa45de8bc3f8de63cfaffcdb.zip
uhd: make CMAKE_BUILD_TYPE a visible variable in the gui
Diffstat (limited to 'host/CMakeLists.txt')
-rw-r--r--host/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 4e7a4fe7b..bbcf34373 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -61,6 +61,7 @@ IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "Release")
MESSAGE(STATUS "Build type not specified: defaulting to release.")
ENDIF(NOT CMAKE_BUILD_TYPE)
+SET(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING "")
IF(CMAKE_COMPILER_IS_GNUCXX)
ADD_DEFINITIONS(-Wall)