Merge pull request #3079

4effbd3 cmake: cross-compilation to Windows - use 'win32' Boost_THREADAPI (xiphon)
This commit is contained in:
luigi1111 2020-09-12 15:59:29 -05:00
commit f745670b36
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -157,6 +157,9 @@ endif()
if(APPLE AND NOT BOOST_ROOT) if(APPLE AND NOT BOOST_ROOT)
execute_process(COMMAND brew --prefix boost OUTPUT_VARIABLE BOOST_ROOT OUTPUT_STRIP_TRAILING_WHITESPACE) execute_process(COMMAND brew --prefix boost OUTPUT_VARIABLE BOOST_ROOT OUTPUT_STRIP_TRAILING_WHITESPACE)
endif() endif()
if(MINGW)
set(Boost_THREADAPI win32)
endif()
find_package(Boost 1.58 REQUIRED COMPONENTS find_package(Boost 1.58 REQUIRED COMPONENTS
system system
filesystem filesystem