Skip to content

Commit 9dfde48

Browse files
author
sprice
committed
Actually link the example to the library...
1 parent 7c504a1 commit 9dfde48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (HDF5_FOUND)
1414
include_directories(${HDF5_INCLUDE_DIR})
1515

1616
add_executable(flann_example_cpp flann_example.cpp)
17-
target_link_libraries(flann_example_cpp ${HDF5_LIBRARIES})
17+
target_link_libraries(flann_example_cpp ${HDF5_LIBRARIES} flann_cpp)
1818
if (HDF5_IS_PARALLEL)
1919
target_link_libraries(flann_example_cpp ${MPI_LIBRARIES})
2020
endif()

0 commit comments

Comments
 (0)