Fix MSVC dependent option syntax

This is not how CMake works lol
This commit is contained in:
ISSOtm
2026-04-13 01:37:38 +02:00
parent 09db4f25dd
commit 52aaf7e3b3
+1 -1
View File
@@ -38,7 +38,7 @@ include(GNUInstallDirs)
include(CMakeDependentOption)
option(SANITIZERS "Build with sanitizers enabled" OFF)
cmake_dependent_option(MORE_WARNINGS "Turn on more warnings" OFF !MSVC OFF)
cmake_dependent_option(MORE_WARNINGS "Turn on more warnings" OFF "NOT MSVC" OFF)
if(MSVC)
add_compile_options(