diff --git a/CMakeLists.txt b/CMakeLists.txt index 429365228..c3778134f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,11 @@ option(CITRA_USE_BUNDLED_QT "Download bundled Qt binaries" OFF) option(ENABLE_HIGH_OP "Enable highest optimizations possible" OFF) set(CPU_TARGET "base" CACHE STRING "CPU minimum for this build, use base as default") -set(CPU_TYPES "base;pentium4;haswell;skylake;modern") +if (MSVC) + set(CPU_TYPES "base;modern intel;modern amd;modern") +else() + set(CPU_TYPES "base;pentium4;haswell;skylake;modern") +endif() set_property(CACHE CPU_TARGET PROPERTY STRINGS ${CPU_TYPES}) set(CC_OP_LEVEL "")