mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
Merge pull request #5464
0f52fe4c
Windows: work around a boost 1.70 and cmake SNAFU (iDunk5400)b414b69f
Windows: fix a build error in MSYS2 with boost 1.70.0 (iDunk5400)
This commit is contained in:
commit
71c6b24893
@ -878,6 +878,7 @@ set(OLD_LIB_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
|||||||
if(STATIC)
|
if(STATIC)
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
|
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
|
||||||
|
set(Boost_NO_BOOST_CMAKE ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(Boost_USE_STATIC_LIBS ON)
|
set(Boost_USE_STATIC_LIBS ON)
|
||||||
|
@ -69,6 +69,9 @@ using namespace epee;
|
|||||||
#include "net/http_client.h" // epee::net_utils::...
|
#include "net/http_client.h" // epee::net_utils::...
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
#ifndef STRSAFE_NO_DEPRECATE
|
||||||
|
#define STRSAFE_NO_DEPRECATE
|
||||||
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user