From d70580ab142cbbdb021e4ca275a7d0bf78c5ed5c Mon Sep 17 00:00:00 2001 From: "Alexandr N. Zamaraev" Date: Mon, 8 Jul 2019 17:58:46 +0700 Subject: [PATCH] Fix MINGW build (#215) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6938299cf0..26a419d36b 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)