diff --git a/CMakeLists.txt b/CMakeLists.txt index 6430d4bc..17103a64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,9 +9,13 @@ set(CMAKE_C_STANDARD 11) # message(STATUS "Bitsumd profile: According to cmake, sizeof(void *) == " ${CMAKE_SIZEOF_VOID_P}) option(USE_INSTRUMENTATION "For testing - builds with address sanitizer instrument" OFF) option(WITH_THREAD_SANITIZER "For testing - builds with thread sanitizer instrument, USE_INSTRUMENTATION must be also set" OFF) -option(USE_SSL "Builds with support of https between walletd and bytecoind" OFF) +option(USE_SSL "Builds with support of https between wallet-rpc and bitsumd" OFF) if(CMAKE_SIZEOF_VOID_P EQUAL 8) - option(USE_SQLITE "Builds with SQLite instead of LMDB. 4x slower, but works on 32-bit and mobile platforms" ON) + if(WIN32) + option(USE_SQLITE "Builds with SQLite instead of LMDB. 4x slower, but works on 32-bit and mobile platforms" ON) + else() + option(USE_SQLITE "Builds with SQLite instead of LMDB. 4x slower, but works on 32-bit and mobile platforms" OFF) + endif() set(OPENSSL_ROOT ../openssl) else() option(USE_SQLITE "Builds with sqlite instead of LMDB. 4x slower, but works on 32-bit and mobile platforms" ON) @@ -163,7 +167,7 @@ if(WIN32) else() set(BOOST_ROOT ../boost) set(Boost_USE_MULTITHREADED OFF) # all boost libraries are multithreaded since some version - find_package(Boost 1.67 REQUIRED COMPONENTS system) + find_package(Boost 1.65 REQUIRED COMPONENTS system) include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) set(Boost_LIBRARIES "${Boost_LIBRARIES}") if(APPLE)