From 8678cf846531a811f36528e007dcf7e34c42f22e Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Tue, 7 Jan 2025 14:43:20 +0800 Subject: [PATCH] adopt to new cmake macro --- ceres-solver.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ceres-solver.spec b/ceres-solver.spec index 4acef87..d81780a 100644 --- a/ceres-solver.spec +++ b/ceres-solver.spec @@ -1,6 +1,6 @@ Name: ceres-solver Version: 2.0.0 -Release: 2 +Release: 3 Summary: A non-linear least squares minimizer License: MIT and Apache-2.0 @@ -44,14 +44,14 @@ developing applications that use %{name}. %autosetup -p1 %build -%cmake . \ +%cmake \ -DCXSPARSE_INCLUDE_DIR:PATH=%{_includedir}/suitesparse \ -DBLAS_LIBRARIES=-l%{blaslib} \ -DGFLAGS_INCLUDE_DIR=%{_includedir} -%make_build +%cmake_build %install -%make_install +%cmake_install %files %doc README.md @@ -64,6 +64,9 @@ developing applications that use %{name}. %{_libdir}/cmake/Ceres %changelog +* Tue Jan 07 2025 wangkai <13474090681@163.com> - 2.0.0-3 +- adopt to new cmake macro + * Tue Nov 12 2024 chenyaqiang - 2.0.0-2 - Sync 941ea13475913 to fix not found tbb version -- Gitee