Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ endif()

if( eckit_FOUND AND oops_FOUND AND ioda_FOUND AND bufr_FOUND )
set(iodaconv_bufr_query_ENABLED True)
find_package( bufr_query QUIET )
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems odd to set iodaconv_bufr_query_ENABLED to True before checking to see if bufr_query is found. Wouldn't it be better to do the find_package for bufr_query right after the find_package for bufr (line 88) and then add "AND bufr_query_FOUND" to the conditional on line 115? The messaging in this if-then-else structure could also be updated accordingly.

message(STATUS "Found: eckit")
message(STATUS "Found: oops")
message(STATUS "Found: ioda")
Expand Down