We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c121bbb commit 3da63dcCopy full SHA for 3da63dc
sycl/cmake/modules/AddSYCLUnitTest.cmake
@@ -6,7 +6,8 @@ macro(add_sycl_unittest test_dirname link_variant)
6
# Enable exception handling for these unit tests
7
set(LLVM_REQUIRES_EH 1)
8
9
- if (MSVC AND CMAKE_BUILD_TYPE MATCHES "Debug")
+ string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type_lower)
10
+ if (MSVC AND build_type_lower MATCHES "debug")
11
set(sycl_obj_target "sycld_object")
12
set(sycl_so_target "sycld")
13
else()
0 commit comments