Skip to content

Commit 5566a69

Browse files
committed
fix MSVC detection
1 parent 994a68c commit 5566a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
1+
if (MSVC)
22
add_compile_options(
33
"$<$<CONFIG:DEBUG>:/W4>"
44
"$<$<CONFIG:RELEASE>:/O2>"

0 commit comments

Comments
 (0)