message: If building for Android using Qt Creator, handle parameters via environment:
  - BOOST_ROOT
  - BOOST_INCLUDEDIR
  - Boost_INCLUDE_DIR
  - BOOST_LIBRARYDIR
  - Boost_LIBRARY_DIR
  - BerkeleyDB_ROOT_DIR
  - BERKELEYDB_INCLUDE_DIR
  - leveldb_DIR
  - OPENSSL_ROOT_DIR
diff: @@ -33,6 +33,22 @@ if (WIN32)
  endif ()
  if (ANDROID)
  + if(DEFINED ENV{BOOST_ROOT})
  + message(STATUS "BOOST_ROOT $ENV{BOOST_ROOT}")
  + message(STATUS "Getting settings from environment")
  + set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER)
  + set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER)
  + set(BOOST_ROOT "$ENV{BOOST_ROOT}")
  + set(BOOST_INCLUDEDIR "$ENV{BOOST_INCLUDEDIR}")
  + set(Boost_INCLUDE_DIR "$ENV{BOOST_INCLUDEDIR}")
  + set(BOOST_LIBRARYDIR "$ENV{BOOST_LIBRARYDIR}")
  + set(Boost_LIBRARY_DIR "$ENV{BOOST_LIBRARYDIR}")
  + set(BerkeleyDB_ROOT_DIR "$ENV{BerkeleyDB_ROOT_DIR}")
  + set(BERKELEYDB_INCLUDE_DIR "$ENV{BERKELEYDB_INCLUDE_DIR}")
  + set(leveldb_DIR "$ENV{leveldb_DIR}")
  + set(OPENSSL_ROOT_DIR "$ENV{OPENSSL_ROOT_DIR}")
  + set(ENABLE_GUI ON)
  + endif()
  message(STATUS "Configuring for Android")
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fPIC")
  set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold")
  