Skip to content

Commit

Permalink
Bump dependency versions: fmt and pybind11
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Jul 10, 2024
1 parent 3d4ad50 commit a3cbaab
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bindings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

set(find_pkg_args "")
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.24.0")
set(find_pkg_args "FIND_PACKAGE_ARGS" "2.12.0")
set(find_pkg_args "FIND_PACKAGE_ARGS" "2.13.1")
endif()

FetchContent_Declare(
pybind11
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG v2.12.0
GIT_TAG v2.13.1
GIT_SHALLOW ON
${find_pkg_args})
FetchContent_MakeAvailable(pybind11)
Expand Down
4 changes: 2 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class CompressorRecipe(ConanFile):
def requirements(self):
self.requires("mimalloc/2.1.7")
self.requires("catch2/3.6.0")
self.requires("pybind11/2.12.0")
self.requires("fmt/10.2.1")
self.requires("pybind11/2.13.1")
self.requires("fmt/11.0.1")

def layout(self):
self.folders.build_folder_vars = [
Expand Down
4 changes: 2 additions & 2 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# ~~~

# Required minimum versions for dependencies
set(fmt_min_version "10.2")
set(fmt_min_version "11.0")
set(mimalloc_min_version "2.1")
set(catch2_min_version "3.6")

Expand All @@ -17,7 +17,7 @@ endif()
FetchContent_Declare(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 10.2.1
GIT_TAG 11.0.1
GIT_SHALLOW ON
${find_pkg_args})

Expand Down
1 change: 1 addition & 0 deletions tools/reflect/include/CppEmitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#pragma once

#include "fmt/format.h"
#include "fmt/ranges.h"
#include <filesystem>
#include <fstream>
#include <ranges>
Expand Down

0 comments on commit a3cbaab

Please sign in to comment.