diff --git a/CMakeLists.txt b/CMakeLists.txt index e8129547..d761cab4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -157,6 +157,9 @@ endif() if(APPLE AND NOT BOOST_ROOT) execute_process(COMMAND brew --prefix boost OUTPUT_VARIABLE BOOST_ROOT OUTPUT_STRIP_TRAILING_WHITESPACE) endif() +if(MINGW) + set(Boost_THREADAPI win32) +endif() find_package(Boost 1.58 REQUIRED COMPONENTS system filesystem