Fix Windows build after epee dependency change

This commit is contained in:
iDunk5400 2018-10-12 15:20:42 +00:00 committed by moneromooo-monero
parent 1afc1d0d26
commit e7f24850d5
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 2 additions and 5 deletions

View file

@ -880,7 +880,7 @@ endif()
include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
if(MINGW) if(MINGW)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wa,-mbig-obj") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wa,-mbig-obj")
set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi;crypt32) set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi;crypt32;bcrypt)
if(DEPENDS) if(DEPENDS)
set(ICU_LIBRARIES ${Boost_LOCALE_LIBRARY} sicuio sicuin sicuuc sicudt sicutu iconv) set(ICU_LIBRARIES ${Boost_LOCALE_LIBRARY} sicuio sicuin sicuuc sicudt sicutu iconv)
else() else()

View file

@ -31,6 +31,7 @@
#include "common/util.h" #include "common/util.h"
#include "daemonizer/windows_service.h" #include "daemonizer/windows_service.h"
#include "daemonizer/windows_service_runner.h" #include "daemonizer/windows_service_runner.h"
#include "cryptonote_core/cryptonote_core.h"
#include <shlobj.h> #include <shlobj.h>
#include <boost/filesystem/operations.hpp> #include <boost/filesystem/operations.hpp>

View file

@ -26,10 +26,6 @@
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
if(WIN32)
set(EXTRA_LIBRARIES "${EXTRA_LIBRARIES};bcrypt")
endif()
set(functional_tests_sources set(functional_tests_sources
main.cpp main.cpp
transactions_flow_test.cpp transactions_flow_test.cpp