|
@@ -82,6 +82,7 @@ if (MINGW AND NOT DEFINED URHO3D_SSE)
|
|
|
execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION ERROR_QUIET)
|
|
execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION ERROR_QUIET)
|
|
|
if (GCC_VERSION VERSION_LESS 4.9.1)
|
|
if (GCC_VERSION VERSION_LESS 4.9.1)
|
|
|
message (WARNING "Disabling SSE by default due to MinGW version. It is recommended to upgrade to MinGW with GCC >= 4.9.1. You can also try to re-enable SSE with CMake option -DURHO3D_SSE=1, but this may result in compile errors.")
|
|
message (WARNING "Disabling SSE by default due to MinGW version. It is recommended to upgrade to MinGW with GCC >= 4.9.1. You can also try to re-enable SSE with CMake option -DURHO3D_SSE=1, but this may result in compile errors.")
|
|
|
|
|
+ set (URHO3D_DEFAULT_SSE FALSE)
|
|
|
else ()
|
|
else ()
|
|
|
set (URHO3D_DEFAULT_SSE TRUE)
|
|
set (URHO3D_DEFAULT_SSE TRUE)
|
|
|
endif ()
|
|
endif ()
|