Skip to content

Commit

Permalink
Merge pull request #26 from StegmannJCSDA/hotfix/ecbuild_ctest_emc
Browse files Browse the repository at this point in the history
Added ecbuild availability to test/CMakeLists.txt.
  • Loading branch information
StegmannJCSDA authored Jun 27, 2022
2 parents 4a6c2ba + 3f050c5 commit 5ddd0d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ enable_testing ()

## Ecbuild integration
find_package( ecbuild QUIET )
if(NOT ecbuild_FOUND)
message(WARNING "ecbuild is required for testing and was not found!")
message(WARNING "CRTM tests are disabled!")
return()
endif()

include( ecbuild_system NO_POLICY_SCOPE )
ecbuild_declare_project()
list( APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake )
Expand Down

0 comments on commit 5ddd0d6

Please sign in to comment.