Skip to content

Commit

Permalink
[kealib] Config needs find_dependency(HDF5)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Dec 4, 2023
1 parent 774426c commit c4c7050
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions ports/kealib/kealib-target.diff
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,18 @@ index a9b19fe..3ab09c1 100644
###############################################################################

###############################################################################
diff --git a/src/Config.cmake.in b/src/Config.cmake.in
index 7de44f9..8a7bb8c 100644
--- a/src/Config.cmake.in
+++ b/src/Config.cmake.in
@@ -1,5 +1,10 @@
@PACKAGE_INIT@

+# FindHDF5.cmake may expose exported targets in HDF5_LIBRARIES.
+include(CMakeFindDependencyMacro)
+set(HDF5_USE_STATIC_LIBRARIES "@HDF5_USE_STATIC_LIBRARIES@")
+find_dependency(HDF5)
+
include("${CMAKE_CURRENT_LIST_DIR}/libkeaTargets.cmake")

check_required_components(libkea)
2 changes: 1 addition & 1 deletion versions/k-/kealib.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "e6ead171f73aa543372e3678b9c14f849df6ae74",
"git-tree": "a32984c499e3b89d71c221916c41d59cf8cb1834",
"version": "1.5.2",
"port-version": 1
},
Expand Down

0 comments on commit c4c7050

Please sign in to comment.