mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
cmake: cross-compilation to Windows - use 'win32' Boost_THREADAPI
This commit is contained in:
parent
a563582d95
commit
4effbd3c8e
1 changed files with 3 additions and 0 deletions
|
@ -152,6 +152,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
|
||||
|
|
Loading…
Reference in a new issue