From 5566a6973142e38b582ab506b9574ae5d830ed3d Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Thu, 20 Feb 2025 13:07:59 -0800 Subject: [PATCH] fix MSVC detection --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e4819d6..7566523 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ - if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") +if (MSVC) add_compile_options( "$<$:/W4>" "$<$:/O2>"