Skip to content

Commit

Permalink
Merge pull request #237 from GEOS-ESM/hotfix/mathomp4/order-of-operat…
Browse files Browse the repository at this point in the history
…ions

Fixes #236. Move FindBaselibs up in order
  • Loading branch information
mathomp4 authored Nov 5, 2021
2 parents 913df74 + 0d78ae9 commit d9b1c34
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
### Added

## [3.7.1] - 2021-Nov-05

### Fixed

- Call `FindBaselibs.cmake` earlier in sequence. This sets the `CMAKE_PREFIX_PATH` before any `find_package()` calls for Baselibs libraries (i.e., GFE)

## [3.7.0] - 2021-Nov-02

### Removed
Expand Down
14 changes: 7 additions & 7 deletions esma.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ include (ecbuild_system NO_POLICY_SCOPE)
list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/compiler")
include (esma_compiler)

### External Libraries Support ###

list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/external_libraries")
include(math_libraries)
include(FindBaselibs)
find_package(GitInfo)

### ESMA Support ###

list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/esma_support")
Expand Down Expand Up @@ -105,13 +112,6 @@ option (ESMA_USE_GFE_NAMESPACE "use cmake namespace with GFE projects" ON)
set (XFLAGS "" CACHE STRING "List of extra FPP options that will be passed to select source files.")
set (XFLAGS_SOURCES "" CACHE STRING "List of sources to which XFLAGS will be applied.")

### External Libraries Support ###

list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/external_libraries")
include(math_libraries)
include(FindBaselibs)
find_package(GitInfo)

# On install, print 'Installing' but not 'Up-to-date' messages.
set (CMAKE_INSTALL_MESSAGE LAZY)

Expand Down

0 comments on commit d9b1c34

Please sign in to comment.