From 61fc6e80ee9c1bd5e1433a5f0de0f829a21e1cc6 Mon Sep 17 00:00:00 2001 From: lizzie Date: Fri, 7 Nov 2025 03:58:37 +0000 Subject: [PATCH] fx --- CMakeLists.txt | 4 ++-- src/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b7692cfbb..fb59ec457a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,8 +189,8 @@ if (CXX_CLANG_CL) $<$:/EHsc> # thanks microsoft ) - # REQUIRED CPU features IN windows specifically and amd64 - if (ARCHITECTURE_x86_64 AND WIN32) + # REQUIRED CPU features IN Windows-amd64 + if (ARCHITECTURE_x86_64) add_compile_options( $<$:-msse4.1> $<$:-mcx16> diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 29f55307a8..81c2f81292 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -178,7 +178,7 @@ else() if (MINGW) add_compile_definitions(MINGW_HAS_SECURE_API) - # Only windows has this requirement, or does it? + # Only windows has this requirement, thanks windows if (WIN32) add_compile_options("-msse4.1") endif()