Skip to content

Commit 2dcb51d

Browse files
authored
Merge pull request #387 from GEOS-ESM/bugfix/386-ioda-install
2 parents 9f56e8c + 79012f5 commit 2dcb51d

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Fixed
1515

16-
- Fixed `cmpdir.pl` script and add extra functionality
17-
1816
### Removed
1917

18+
## [2.1.3] - 2025-07-07
19+
20+
### Fixed
21+
22+
- Fix issue with installing `gmao2ioda` scripts as the `gmao2ioda/` directory might not exist in all fixtures
23+
- Fixed `cmpdir.pl` script and add extra functionality
24+
2025
## [2.1.2] - 2025-06-30
2126

2227
### Added

CMakeLists.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,13 @@ if ( NOT HERMES_LIGHT )
4040
endif ()
4141

4242
# the gmao2ioda directory just has scripts we want to install
43-
install (
44-
DIRECTORY gmao2ioda
45-
DESTINATION bin
46-
USE_SOURCE_PERMISSIONS
47-
)
43+
# but we only want to install it if it actually exists (i.e.,
44+
# it might be sparsed out in some fixtures
45+
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/gmao2ioda)
46+
install(
47+
DIRECTORY gmao2ioda
48+
DESTINATION bin
49+
USE_SOURCE_PERMISSIONS
50+
)
51+
endif()
4852
endif()

0 commit comments

Comments
 (0)