Skip to content

Commit

Permalink
Small fixes after PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Nov 9, 2023
1 parent e9b2089 commit ed50952
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# granted to it by virtue of its status as an intergovernmental organisation
# nor does it submit to any jurisdiction.

cmake_minimum_required( VERSION 3.12 FATAL_ERROR )
cmake_minimum_required( VERSION 3.24 FATAL_ERROR )
find_package( ecbuild 3.4 REQUIRED HINTS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../ecbuild )

if( NOT ECWAM_PROJECT_NAME )
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Environment variables
$ export MPI_HOME=<path-to-MPI>
$ export fiat_ROOT=<path-to-fiat>
$ export eccodes_ROOT=<path-to-eccodes>
$ export field_api_ROOT=<path-to-field_api>
$ export field_api_ROOT=<path-to-field_api> (if not set, field_api will be cloned)
$ export CC=<path-to-C-compiler>
$ export FC=<path-to-Fortran-compiler>
$ export CXX=<path-to-C++-compiler>
Expand Down
3 changes: 2 additions & 1 deletion cmake/ecwam_fetchcontent_field_api.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if(field_api_FOUND)
string(COMPARE EQUAL ${result_var} "-1" clone_field_api)
endif()

if( ${clone_field_api} )
if( clone_field_api )
include(FetchContent)
FetchContent_Declare(
field_api
Expand All @@ -30,5 +30,6 @@ if( ${clone_field_api} )
)

set(FIELD_API_ENABLE_TESTS OFF)
set(FIELD_API_ENABLE_ACC OFF)
FetchContent_MakeAvailable(field_api)
endif()
2 changes: 1 addition & 1 deletion package/bundle/bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ projects :

options :

- single-precision :
- with-single-precision :
help : Enable single precision build of the dwarf
cmake : ENABLE_SINGLE_PRECISION=ON

Expand Down

0 comments on commit ed50952

Please sign in to comment.