Closed oswinso closed 4 years ago
Change CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR so that find_package(Flann) works when this is a submodule
CMAKE_SOURCE_DIR
CMAKE_CURRENT_SOURCE_DIR
find_package(Flann)
Change
CMAKE_SOURCE_DIR
toCMAKE_CURRENT_SOURCE_DIR
so thatfind_package(Flann)
works when this is a submodule