From 22534c968660c3d98f867a131ee98844e85b1434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Sun, 28 Apr 2024 12:26:33 -0400 Subject: [PATCH] Fix build with non-MSVC on Win32 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f663c0..9177589 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 $<$:/Zc:lambda>) endif ()