blob: 7c1f03bb85e4e92a17f6dead1952eeabad769a6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff --git a/contrib/ecalhdf5/CMakeLists.txt b/contrib/ecalhdf5/CMakeLists.txt
index cd9073b74..95992e623 100644
--- a/contrib/ecalhdf5/CMakeLists.txt
+++ b/contrib/ecalhdf5/CMakeLists.txt
@@ -98,9 +98,9 @@ target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_14)
target_link_libraries(${PROJECT_NAME} PUBLIC eCAL::measurement_base)
if (${ECAL_LINK_HDF5_SHARED})
- if (TARGET hdf5::hdf5-shared)
+ if (TARGET hdf5-shared)
target_link_libraries(${PROJECT_NAME} PRIVATE
- hdf5::hdf5-shared
+ hdf5-shared
)
# conan target names are different
elseif (TARGET HDF5::C)
|