mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 10:45:50 +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
18 lines
325 B
CMake
18 lines
325 B
CMake
find_package (PkgConfig)
|
|
if (PKG_CONFIG_FOUND)
|
|
# TBD - currently no soci pkgconfig
|
|
#pkg_search_module (soci_PC QUIET libsoci_core>=3.2)
|
|
endif ()
|
|
|
|
if(static)
|
|
set(SOCI_LIB libsoci.a)
|
|
else()
|
|
set(SOCI_LIB libsoci_core.so)
|
|
endif()
|
|
|
|
find_library (soci
|
|
NAMES ${SOCI_LIB})
|
|
|
|
find_path (SOCI_INCLUDE_DIR
|
|
NAMES soci/soci.h)
|