diff --git a/CMakeLists.txt b/CMakeLists.txt index 1bb09395..c06eb15c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ cmake_minimum_required(VERSION 3.12) project (PFUNIT - VERSION 4.9.0 + VERSION 4.10.0 LANGUAGES Fortran C) cmake_policy(SET CMP0077 NEW) @@ -146,7 +146,7 @@ endif () include(build_submodule) # Find fArgParse first so that gFTL and gFTL-shared are consistent -build_submodule(extern/fArgParse PROJECT FARGPARSE TARGET FARGPARSE::fargparse) +build_submodule(extern/fArgParse PROJECT FARGPARSE TARGET FARGPARSE::fargparse VERSION 1.8.0) add_subdirectory (src) add_subdirectory (include) diff --git a/ChangeLog.md b/ChangeLog.md index 88f336e0..f5ce3a20 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -5,6 +5,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.10.0] - 2024-07-10 + ### Changed - Updated pFUnit to use v2 template interfaces diff --git a/cmake/build_submodule.cmake b/cmake/build_submodule.cmake index 5f46be35..2ac65bea 100644 --- a/cmake/build_submodule.cmake +++ b/cmake/build_submodule.cmake @@ -3,11 +3,11 @@ macro (build_submodule submodule) set(options) - set(oneValueArgs TARGET PROJECT) + set(oneValueArgs TARGET PROJECT VERSION) set(multiValueArgs) cmake_parse_arguments(build_submodule "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) - find_package(${build_submodule_PROJECT} QUIET) + find_package(${build_submodule_PROJECT} ${build_submodule_VERSION} QUIET) if (${build_submodule_PROJECT}_FOUND) message(STATUS "Using package '${build_submodule_PROJECT}'")