Skip to content

Commit

Permalink
Merge pull request #99 from GEOS-ESM/develop
Browse files Browse the repository at this point in the history
Git Flow Pull develop into master
  • Loading branch information
mathomp4 authored Jun 3, 2020
2 parents 0b65110 + 026ca08 commit fa505db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Externals.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
required = True
repo_url = git@github.com:GEOS-ESM/ecbuild.git
local_path = ./@ecbuild
tag = geos/v1.0.1
tag = geos/v1.0.5
protocol = git

[externals_description]
Expand Down
6 changes: 5 additions & 1 deletion esma_add_library.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ macro (esma_add_library this)
message (STATUS "Generating build instructions for component: ${this}")
endif ()

set (options EXCLUDE_FROM_ALL)
set (options EXCLUDE_FROM_ALL NOINSTALL)
set (oneValueArgs
# shared with ecbuild
TYPE)
Expand Down Expand Up @@ -87,11 +87,15 @@ macro (esma_add_library this)
if (ARGS_TYPE)
set(ARGS_TYPE TYPE ${ARGS_TYPE})
endif()
if (ARGS_NOINSTALL)
set(NOINSTALL_ "NOINSTALL")
endif()
ecbuild_add_library (TARGET ${this}
SOURCES ${ARGS_SOURCES}
PUBLIC_LIBS ${all_dependencies}
PUBLIC_INCLUDES ${ARGS_PUBLIC_INCLUDES}
${ARGS_TYPE}
${NOINSTALL_}
)

set_target_properties(${this} PROPERTIES EXCLUDE_FROM_ALL ${ARGS_EXCLUDE_FROM_ALL})
Expand Down

0 comments on commit fa505db

Please sign in to comment.