mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 10:59:36 +00:00
Fix MSVC dependent option syntax
This is not how CMake works lol
This commit is contained in:
+1
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user