Browse Source

cmake project generated on windows

cl-refactor
debris 10 years ago
parent
commit
7bb2de3c4a
  1. 10
      cmake/EthDependencies.cmake
  2. 10
      cmake/EthDependenciesDeprecated.cmake
  3. 2
      extdep/CMakeLists.txt

10
cmake/EthDependencies.cmake

@ -44,6 +44,16 @@ find_package (Qt5WebKit REQUIRED)
find_package (Qt5WebKitWidgets REQUIRED)
# we have to specify here if we want static and boost version, that is really important
# win32 msvc 2013 boost
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
set(Boost_COMPILER -vc120)
find_package(Boost 1.55.0 REQUIRED COMPONENTS thread date_time system regex)

10
cmake/EthDependenciesDeprecated.cmake

@ -82,11 +82,11 @@ else()
message(STATUS "Failed to find the readline headers!")
endif ()
if (LANGUAGES)
find_package(Boost 1.53 REQUIRED COMPONENTS thread date_time)
else()
find_package(Boost 1.53 REQUIRED COMPONENTS thread date_time system regex)
endif()
#if (LANGUAGES)
# find_package(Boost 1.53 REQUIRED COMPONENTS thread date_time)
#else()
# find_package(Boost 1.53 REQUIRED COMPONENTS thread date_time system regex)
#endif()
set(QTQML 1)
endif()

2
extdep/CMakeLists.txt

@ -34,7 +34,9 @@ if (ETH_COMPILE)
# boost
include(compile/boost.cmake)
else()
eth_download(jsoncpp)
eth_download(json-rpc-cpp OSX_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/scripts/json-rpc-cpp_osx.sh)
if (APPLE)
eth_download(snappy OSX_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/scripts/snappy_osx.sh)
endif()

Loading…
Cancel
Save