mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 19:25:51 +00:00
* use tagged containers for pkg build * update build images * continue to build container images in pipeline, but allow failure (non-block) * limit travis macos cache * add vs2019 windows to travis * remove xcode 9 travis build * remove clang5/6 from CI and update min version of Clang required in cmake * break windows CI build into stages to reduce timeouts * update datelib * add if condition to travis builds to allow commit message to limit builds by platform
25 lines
456 B
CMake
25 lines
456 B
CMake
find_package (PkgConfig)
|
|
if (PKG_CONFIG_FOUND)
|
|
pkg_search_module (sqlite_PC QUIET sqlite3>=3.26.0)
|
|
endif ()
|
|
|
|
if(static)
|
|
set(SQLITE_LIB libsqlite3.a)
|
|
else()
|
|
set(SQLITE_LIB sqlite3.so)
|
|
endif()
|
|
|
|
find_library (sqlite3
|
|
NAMES ${SQLITE_LIB}
|
|
HINTS
|
|
${sqlite_PC_LIBDIR}
|
|
${sqlite_PC_LIBRARY_DIRS}
|
|
NO_DEFAULT_PATH)
|
|
|
|
find_path (SQLITE_INCLUDE_DIR
|
|
NAMES sqlite3.h
|
|
HINTS
|
|
${sqlite_PC_INCLUDEDIR}
|
|
${sqlite_PC_INCLUDEDIRS}
|
|
NO_DEFAULT_PATH)
|