fix MSVC detection

This commit is contained in:
Mike Oliphant
2025-02-20 13:07:59 -08:00
parent 994a68c4f0
commit 5566a69731
+1 -1
View File
@@ -1,4 +1,4 @@
if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") if (MSVC)
add_compile_options( add_compile_options(
"$<$<CONFIG:DEBUG>:/W4>" "$<$<CONFIG:DEBUG>:/W4>"
"$<$<CONFIG:RELEASE>:/O2>" "$<$<CONFIG:RELEASE>:/O2>"