Skip to content

Commit

Permalink
Fix build with non-MSVC on Win32
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier authored Apr 28, 2024
1 parent b284230 commit 22534c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
add_compile_options(-Wno-c++1z-extensions -Wno-psabi
-Wno-unknown-warning-option)
endif ()
if (WIN32)
if (MSVC)
add_compile_options(/wd4141)
target_compile_options(kfr INTERFACE $<$<CXX_COMPILER_ID:MSVC>:/Zc:lambda>)
endif ()
Expand Down

0 comments on commit 22534c9

Please sign in to comment.