The Chorba bug on SSE2/SSE41 has been fixed so this no longer applies.
if(MSVC_VERSION VERSION_LESS 1800)
message(SEND_ERROR "Unsupported Visual Studio compiler version (requires 2013 or later).")
endif()
- if(MSVC_VERSION VERSION_LESS 1930)
- message(STATUS "Old Visual Studio compiler version, disabling SSE2/SSE4.1 Chorba variants (requires 2022 or later).")
- add_definitions(-DWITHOUT_CHORBA_SSE)
- endif()
# TODO. ICC can be used through MSVC. I'm not sure if we'd ever see that combination
# (who'd use cmake from an IDE...) but checking for ICC before checking for MSVC should
# avoid mistakes.