mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +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
23 lines
467 B
CMake
23 lines
467 B
CMake
find_package (PkgConfig REQUIRED)
|
|
pkg_search_module (libarchive_PC QUIET libarchive>=3.3.3)
|
|
|
|
if(static)
|
|
set(LIBARCHIVE_LIB libarchive.a)
|
|
else()
|
|
set(LIBARCHIVE_LIB archive)
|
|
endif()
|
|
|
|
find_library (archive
|
|
NAMES ${LIBARCHIVE_LIB}
|
|
HINTS
|
|
${libarchive_PC_LIBDIR}
|
|
${libarchive_PC_LIBRARY_DIRS}
|
|
NO_DEFAULT_PATH)
|
|
|
|
find_path (LIBARCHIVE_INCLUDE_DIR
|
|
NAMES archive.h
|
|
HINTS
|
|
${libarchive_PC_INCLUDEDIR}
|
|
${libarchive_PC_INCLUDEDIRS}
|
|
NO_DEFAULT_PATH)
|