Skip to content

Commit 08deb9b

Browse files
committed
ci fix 8
1 parent 83c43de commit 08deb9b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/cryptoToolsDepHelper.cmake

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ cmake_policy(SET CMP0074 NEW)
66

77

88
if(MSVC)
9-
if(NOT DEFINED CMAKE_BUILD_TYPE OR (MSVC AND ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo"))
9+
if(NOT DEFINED CMAKE_BUILD_TYPE)
10+
set(OC_BUILD_TYPE "Release")
11+
elseif(MSVC AND ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo")
1012
set(OC_BUILD_TYPE "Release")
1113
else()
1214
set(OC_BUILD_TYPE ${CMAKE_BUILD_TYPE})

0 commit comments

Comments
 (0)