We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83c43de commit 08deb9bCopy full SHA for 08deb9b
cmake/cryptoToolsDepHelper.cmake
@@ -6,7 +6,9 @@ cmake_policy(SET CMP0074 NEW)
6
7
8
if(MSVC)
9
- if(NOT DEFINED CMAKE_BUILD_TYPE OR (MSVC AND ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo"))
+ if(NOT DEFINED CMAKE_BUILD_TYPE)
10
+ set(OC_BUILD_TYPE "Release")
11
+ elseif(MSVC AND ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo")
12
set(OC_BUILD_TYPE "Release")
13
else()
14
set(OC_BUILD_TYPE ${CMAKE_BUILD_TYPE})
0 commit comments