diff --git a/GeoLib/CMakeLists.txt b/GeoLib/CMakeLists.txt index d26bd651ee6..153810e21b4 100644 --- a/GeoLib/CMakeLists.txt +++ b/GeoLib/CMakeLists.txt @@ -17,7 +17,7 @@ target_link_libraries( PUBLIC BaseLib Eigen3::Eigen MathLib $<$:rapidxml> $<$:Qt5::Xml> $<$:Qt5::XmlPatterns> - fmt::fmt + fmt::fmt-header-only PRIVATE range-v3 tet ) diff --git a/MathLib/CMakeLists.txt b/MathLib/CMakeLists.txt index 1a98e56bdb2..d184bfca005 100644 --- a/MathLib/CMakeLists.txt +++ b/MathLib/CMakeLists.txt @@ -34,7 +34,7 @@ target_link_libraries( $<$:petsc> Eigen3::Eigen $<$:OpenMP::OpenMP_CXX> - fmt::fmt + fmt::fmt-header-only ) if(OGS_USE_LIS) diff --git a/pyproject.toml b/pyproject.toml index 24ef5d25359..199ea98c438 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ cmake.args = ["--preset", "wheel"] cmake.minimum-version = "3.22.0" experimental = true metadata.version.provider = "scikit_build_core.metadata.setuptools_scm" -minimum-version = "0.4.3" +minimum-version = "0.5.0" ninja.make-fallback = false wheel.packages = ["Applications/Python/ogs"] diff --git a/scripts/cmake/CheckHeaderCompilation.cmake b/scripts/cmake/CheckHeaderCompilation.cmake index 15df621a6fe..fd8adb5cacd 100644 --- a/scripts/cmake/CheckHeaderCompilation.cmake +++ b/scripts/cmake/CheckHeaderCompilation.cmake @@ -45,7 +45,7 @@ function(_check_header_compilation target) nlohmann_json::nlohmann_json range-v3 # petsc; is given via ${PETSC_INCLUDES} below. - fmt::fmt + fmt::fmt-header-only ) # Ignore non-existing targets or interface libs if(NOT TARGET ${lib}) diff --git a/scripts/cmake/Dependencies.cmake b/scripts/cmake/Dependencies.cmake index fcd15b66594..0a6cf4a8439 100644 --- a/scripts/cmake/Dependencies.cmake +++ b/scripts/cmake/Dependencies.cmake @@ -33,7 +33,7 @@ endif() # Check spdlog release for compatible fmt release. fmt may be provided by vtk # _ext build. -if(NOT TARGET fmt::fmt) +if(NOT TARGET fmt::fmt-header-only) CPMFindPackage( NAME fmt GIT_TAG 10.1.0 diff --git a/scripts/python/scikit-build-plugins/scripts/__init__.py b/scripts/python/scikit-build-plugins/scripts/__init__.py index 59232a324cc..73780553db2 100644 --- a/scripts/python/scikit-build-plugins/scripts/__init__.py +++ b/scripts/python/scikit-build-plugins/scripts/__init__.py @@ -14,10 +14,10 @@ def __dir__() -> list[str]: def dynamic_metadata( - fields: frozenset[str], + field: str, settings: dict[str, object] | None = None, -) -> dict[str, str | dict[str, str | None]]: - if fields != {"scripts"}: +) -> str: + if field != "scripts": msg = "Only the 'scripts' field is supported" raise ValueError(msg) @@ -25,4 +25,4 @@ def dynamic_metadata( msg = "No inline configuration is supported" raise ValueError(msg) - return {"scripts": pyproject_get_binaries()} + return pyproject_get_binaries()