diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a307e968a..620fd032af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -206,6 +206,7 @@ if (MINGW) set(CMAKE_STATIC_LIBRARY_PREFIX) add_definitions(-D_WIN32_WINNT=0x0600) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4 -std=c++11") endif() if (UNIX)