spdlog : added ninja backend

This commit is contained in:
Victor Tebar
2023-03-07 14:22:42 +00:00
parent 7a9a6340c2
commit acf60a78f4

View File

@@ -1,6 +1,6 @@
# description : Very fast, header-only/compiled, C++ logging library.
# homepage : https://github.com/gabime/spdlog
# depends : cmake
# depends : cmake ninja
name=spdlog
version=1.11.0
@@ -8,7 +8,7 @@ release=1
source="https://github.com/gabime/spdlog/archive/v$version/$name-$version.tar.gz"
build() {
cmake -S $name-$version -B build \
cmake -S $name-$version -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib \