Browse Source

fx

pull/2872/head
lizzie 3 months ago
parent
commit
61fc6e80ee
  1. 4
      CMakeLists.txt
  2. 2
      src/CMakeLists.txt

4
CMakeLists.txt

@ -189,8 +189,8 @@ if (CXX_CLANG_CL)
$<$<COMPILE_LANGUAGE:C,CXX>:/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(
$<$<COMPILE_LANGUAGE:C,CXX>:-msse4.1>
$<$<COMPILE_LANGUAGE:C,CXX>:-mcx16>

2
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()

Loading…
Cancel
Save