Skip to content

Commit

Permalink
conditional config fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
danovaro committed Nov 7, 2024
1 parent 290b387 commit 3bd6e54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
########################################################################################################################
### dependencies and options

ecbuild_bundle( PROJECT share GIT "https://github.com/ecmwf/metkit-configs" BRANCH main UPDATE)
if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/share")
ecbuild_bundle( PROJECT share GIT "https://github.com/ecmwf/metkit-configs" BRANCH main UPDATE)
endif()

ecbuild_add_option( FEATURE BUILD_TOOLS
DEFAULT ON
Expand Down

0 comments on commit 3bd6e54

Please sign in to comment.