1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00

deps: build shared library for spdlog

This commit is contained in:
Steffen Vogel 2020-07-01 17:58:16 +02:00
parent 6b911cd67f
commit eb1c7536c6

View file

@ -74,7 +74,7 @@ if ! pkg-config "spdlog >= 1.5.0"; then
mkdir -p spdlog/build
pushd spdlog/build
git checkout v1.5.0
cmake -DSPDLOG_FMT_EXTERNAL=ON -DSPDLOG_BUILD_BENCH=OFF ${CMAKE_OPTS} ..
cmake -DSPDLOG_FMT_EXTERNAL=ON -DSPDLOG_BUILD_BENCH=OFF -DSPDLOG_BUILD_SHARED=ON ${CMAKE_OPTS} ..
make -j$(nproc) ${TARGET}
if [ -n "${PACKAGE}" ]; then
cp spdlog/build/*.rpm rpms