Skip to content

Commit

Permalink
Lock exact version of spdlog and its dependency fmtlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Luo committed Dec 3, 2024
1 parent 88924db commit 0dc0748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ endif()
# NOTE:
# - We only try to link to the static library
# - spdlog uses fmt, so their versions need to be kept in-sync
find_package(fmt 8.0.1 REQUIRED)
find_package(fmt 8.0.1 EXACT REQUIRED)
if(fmt_FOUND)
message(STATUS "Found fmt ${fmt_VERSION}")
else()
Expand All @@ -114,7 +114,7 @@ if(CLP_USE_STATIC_LIBS)
# source.
set(spdlog_USE_STATIC_LIBS ON)
endif()
find_package(spdlog 1.9.2 REQUIRED)
find_package(spdlog 1.9.2 EXACT REQUIRED)
if(spdlog_FOUND)
message(STATUS "Found spdlog ${spdlog_VERSION}")
else()
Expand Down

0 comments on commit 0dc0748

Please sign in to comment.