提交 b0672756 编写于 作者: M Marius Muja

Added hdf5 include path in some places

上级 6e293334
add_custom_target(examples ALL)
if (BUILD_C_BINDINGS)
add_executable(flann_example_c flann_example.c)
target_link_libraries(flann_example_c flann)
......@@ -10,6 +11,8 @@ if (BUILD_C_BINDINGS)
endif()
if (HDF5_FOUND)
include_directories(${HDF5_INCLUDE_DIR})
add_executable(flann_example_cpp flann_example.cpp)
target_link_libraries(flann_example_cpp flann_cpp ${HDF5_LIBRARIES})
if (HDF5_IS_PARALLEL)
......
......@@ -24,6 +24,7 @@ flann_download_test_data(sift100K.h5 ae2b08f93f3d9f89f5d68566b0406102)
flann_download_test_data(sift100K_byte.h5 b772255fd2044e9d2a5a0183953e4705)
if (GTEST AND HDF5_FOUND)
include_directories(${HDF5_INCLUDE_DIR})
flann_add_gtest(flann_simple_test flann_simple_test.cpp)
target_link_libraries(flann_simple_test flann_cpp ${HDF5_LIBRARIES})
if (HDF5_IS_PARALLEL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册