Skip to content

Commit

Permalink
Fixes #100 - migration of macro to create stub components.
Browse files Browse the repository at this point in the history
  • Loading branch information
tclune committed Jun 3, 2020
1 parent 026ca08 commit 8cb6b8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Removed
### Added
- Option to use cmake macro defined in MAPL for creating stubs.
Option should be removed once MAPL changes are accepted.

## [3.0.2] - 2020-05-04

Expand Down
6 changes: 5 additions & 1 deletion esma_add_library.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ macro (esma_add_library this)
list (APPEND non_stubbed ${mod_name})
else ()
ecbuild_debug(" ... Creating stub component ${module_name}")
esma_create_stub_component (ARGS_SOURCES ${module_name})
if (COMMAND mapl_create_stub_component)
mapl_create_stub_component (ARGS_SOURCES ${module_name})
else ()
esma_create_stub_component (ARGS_SOURCES ${module_name})
endif ()
endif ()

endforeach ()
Expand Down

0 comments on commit 8cb6b8c

Please sign in to comment.