diff --git a/spdlog.changes b/spdlog.changes index c862bb6..a9303a0 100644 --- a/spdlog.changes +++ b/spdlog.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 27 06:11:03 UTC 2019 - Dead Mozay + +- Added additional building options + ------------------------------------------------------------------- Tue Apr 16 13:33:41 UTC 2019 - Luigi Baldoni diff --git a/spdlog.spec b/spdlog.spec index 4791f8c..4c640de 100644 --- a/spdlog.spec +++ b/spdlog.spec @@ -31,6 +31,8 @@ BuildRequires: gcc-c++ >= 8 %else BuildRequires: gcc8-c++ %endif +BuildRequires: gcc +BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: pkgconfig(fmt) @@ -57,11 +59,17 @@ sed -i -e "s,\r,," README.md LICENSE %build export CXX=g++ test -x "$(type -p g++-8)" && export CXX=g++-8 -%cmake -DSPDLOG_FMT_EXTERNAL=ON -%make_jobs +%cmake -G Ninja \ + -DSPDLOG_BUILD_TESTS=ON \ + -DSPDLOG_BUILD_BENCH=OFF \ + -DSPDLOG_FMT_EXTERNAL=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DSPDLOG_BUILD_EXAMPLES=OFF \ +.. +%ninja_build %install -%cmake_install +%ninja_install -C build %check %ctest