Skip to content

Commit a3fe420

Browse files
authored
Fix HAS_EXCEPTION on Windows. (#743)
1 parent b3efd49 commit a3fe420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ endif()
498498
target_compile_definitions(${name} PRIVATE "SNMALLOC_USE_${SNMALLOC_CLEANUP}")
499499

500500
if(MSVC)
501-
target_compile_definitions(${name} INTERFACE -D_HAS_EXCEPTIONS=0)
501+
target_compile_definitions(${name} PRIVATE -D_HAS_EXCEPTIONS=0)
502502
endif()
503503

504504
add_warning_flags(${name})

0 commit comments

Comments
 (0)