Skip to content

Commit

Permalink
Merge pull request #472 from Goddard-Fortran-Ecosystem/release-prep
Browse files Browse the repository at this point in the history
Prep for release
  • Loading branch information
tclune authored Jul 10, 2024
2 parents 395c81c + b084d09 commit 3ef8192
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cmake/build_submodule.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}'")
Expand Down

0 comments on commit 3ef8192

Please sign in to comment.