mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +02:00
Merge pull request #3079
4effbd3
cmake: cross-compilation to Windows - use 'win32' Boost_THREADAPI (xiphon)
This commit is contained in:
commit
f745670b36
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user