Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sycl/cmake/modules/AddSYCLUnitTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ macro(add_sycl_unittest test_dirname link_variant)
# Enable exception handling for these unit tests
set(LLVM_REQUIRES_EH 1)

if (MSVC AND CMAKE_BUILD_TYPE MATCHES "Debug")
string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type_lower)
if (MSVC AND build_type_lower MATCHES "debug")
set(sycl_obj_target "sycld_object")
set(sycl_so_target "sycld")
else()
Expand Down