summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2020-12-16 21:48:11 (GMT)
committerGitHub <noreply@github.com>2020-12-16 21:48:11 (GMT)
commitface55b680897b30c533b3710a7d6823cb5ea563 (patch)
tree35f33cc3e91155e90c89098034934e89c9ea1474
parenta2888c8df1de86eb94a898a5d5ff6a27a84f8301 (diff)
downloadhdf5-face55b680897b30c533b3710a7d6823cb5ea563.zip
hdf5-face55b680897b30c533b3710a7d6823cb5ea563.tar.gz
hdf5-face55b680897b30c533b3710a7d6823cb5ea563.tar.bz2
OESS-98 fix hdf5 link target (#190)
-rw-r--r--config/cmake/HDF5PluginCache.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/cmake/HDF5PluginCache.cmake b/config/cmake/HDF5PluginCache.cmake
index acf703d..99ea4b2 100644
--- a/config/cmake/HDF5PluginCache.cmake
+++ b/config/cmake/HDF5PluginCache.cmake
@@ -10,8 +10,7 @@ set (BUILD_EXAMPLES ON CACHE BOOL "Build h5pl Examples" FORCE)
set (HDF5_PACKAGE_NAME "hdf5" CACHE STRING "Name of HDF5 package" FORCE)
set (HDF5_HDF5_HEADER "h5pubconf.h" CACHE STRING "Name of HDF5 header" FORCE)
-set (HDF5_LINK_TARGET ${HDF5_LIBSH_TARGET} CACHE STRING "hdf5 target" FORCE)
-set (HDF5_LINK_LIBS $<TARGET_LINKER_FILE:${HDF5_LIBSH_TARGET}> CACHE STRING "hdf5 shared link library" FORCE)
+set (HDF5_LINK_LIBS ${HDF5_LIBSH_TARGET} CACHE STRING "hdf5 target" FORCE)
#set (HDF5_INCLUDE_DIR $<TARGET_PROPERTY:${HDF5_LIBSH_TARGET},INCLUDE_DIRECTORIES> CACHE PATH "hdf5 include dirs" FORCE)
set (HDF5_INCLUDE_DIR "${HDF5_SRC_DIR};${HDF5_SRC_BINARY_DIR}" CACHE PATH "hdf5 include dirs" FORCE)
set (HDF5_INCLUDE_DIRS "${HDF5_SRC_DIR};${HDF5_SRC_BINARY_DIR}" CACHE PATH "hdf5 include dirs" FORCE)