diff options
-rw-r--r-- | host/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 8b55fa170..5c47767ba 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) |