Skip to content

Commit 755bffa

Browse files
Piotr Obrzutdahlerlend
authored andcommitted
Post push fix: fix for Bug#29252153. Added missing CMAKE_BUILD_TYPE_UPPER definition.
Reviewed-by: Bjorn Munch <[email protected]>
1 parent d6486b3 commit 755bffa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ ELSEIF(NOT HAVE_CMAKE_BUILD_TYPE OR OLD_WITH_DEBUG)
164164
SET(OLD_WITH_DEBUG 0 CACHE INTERNAL "" FORCE)
165165
ENDIF()
166166

167+
STRING(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_UPPER)
168+
167169
IF(CMAKE_GENERATOR MATCHES "Visual Studio [1-9][0-9].*" AND
168170
CMAKE_GENERATOR_TOOLSET STREQUAL "")
169171
# Switch to 64 bit toolset on Windows (32 bit is default).

0 commit comments

Comments
 (0)