diff options
| author | xiphon <xiphon@protonmail.com> | 2020-09-10 11:50:17 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-09-10 11:50:17 +0000 |
| commit | 4effbd3c8e7aab7e470d0030849b204a5871b0a5 (patch) | |
| tree | 18d15f8fe65bd9f82d6491bd65def40dbb77570c | |
| parent | a563582d95c0048a64e7edad8f6c6cc3d4ace812 (diff) | |
| download | monzero-gui-4effbd3c8e7aab7e470d0030849b204a5871b0a5.tar.gz monzero-gui-4effbd3c8e7aab7e470d0030849b204a5871b0a5.tar.xz monzero-gui-4effbd3c8e7aab7e470d0030849b204a5871b0a5.zip | |
cmake: cross-compilation to Windows - use 'win32' Boost_THREADAPI
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b783fb05..93a50982 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 |
