Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0580d4955..e3fe096c7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,7 +77,9 @@ else()
)
set(BUILD_STR "Debug")
- elseif(NOT ${CMAKE_BUILD_TYPE} STREQUAL "Release")
+ elseif(${CMAKE_BUILD_TYPE} STREQUAL "Release")
+ set(BUILD_STR "Release")
+ else()
message(FATAL_ERROR "Unsupported build type! Please choose either \"Debug\" or \"Release\".")
endif()
endif()