summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-11-28 14:56:57 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-11-28 14:56:57 (GMT)
commit702b214c8316c347fb2ee75e07d36af70a7e0c4e (patch)
tree705db2397325ed93173fc0349aa253e6234046c1 /src
parent91731fb08724e60f2769f71971ced4a59224e341 (diff)
downloadmxe-702b214c8316c347fb2ee75e07d36af70a7e0c4e.zip
mxe-702b214c8316c347fb2ee75e07d36af70a7e0c4e.tar.gz
mxe-702b214c8316c347fb2ee75e07d36af70a7e0c4e.tar.bz2
hdf5: fix for static cmake test
Diffstat (limited to 'src')
-rw-r--r--src/hdf5-test.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hdf5-test.cmake b/src/hdf5-test.cmake
index d2a1408..dc9c691 100644
--- a/src/hdf5-test.cmake
+++ b/src/hdf5-test.cmake
@@ -8,7 +8,7 @@ set(TGT test-${PKG}-cmake)
enable_language(CXX)
add_executable(${TGT} ${CMAKE_CURRENT_LIST_DIR}/${PKG}-test.cpp)
-find_package(HDF5 ${PKG_VERSION} EXACT REQUIRED)
+find_package(HDF5 ${PKG_VERSION} EXACT REQUIRED COMPONENTS C HL)
target_link_libraries(${TGT} ${HDF5_LIBRARIES})
install(TARGETS ${TGT} DESTINATION bin)