diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index 020c0962bc03c3a80e9a347fa7325738099ad638..115ab71f58ca12d188393102cddfee3600346498 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -45,12 +45,9 @@ set(CMAKE_CONFIGURATION_TYPES "RelWithDebInfo;Release;Debug" CACHE STRING "Supported build types." FORCE) # SIMD config -option(USE_SSE42 "Enable usage of the SSE4.2 instruction set" ON) -option(USE_AVX "Enable usage of the AVX instruction set" OFF) option(USE_AVX2 "Enable usage of the AVX2 instruction set" OFF) -if((USE_SSE42 AND USE_AVX) OR (USE_SSE42 AND USE_AVX AND USE_AVX2) OR (USE_AVX AND USE_AVX2)) - message(FATAL_ERROR "Usage of multiple SIMD flags is unsupported") -endif() +option(USE_AVX "Enable usage of the AVX instruction set" OFF) +option(USE_SSE42 "Enable usage of the SSE4.2 instruction set" ON) # Warnings option(DISABLE_FATAL_WARNINGS "Disable warnings as errors" ON)