Skip to content

Commit caba63b

Browse files
committed
let's still use our Eigen patch for include search directories (it wants the config file by default)
1 parent 0c88afe commit caba63b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

CMakeLists.txt

-8
Original file line numberDiff line numberDiff line change
@@ -324,20 +324,12 @@ if(NOT DEFINED PC_EIGEN_INCLUDE_DIRS)
324324
message(FATAL_ERROR "PATCH: PC_EIGEN_INCLUDE_DIRS is required!")
325325
endif()
326326

327-
find_package(Eigen 3.3 REQUIRED)
328-
329327
# FLANN (required)
330328
# PATCH: manually set flann.pc variables and make it work with build system
331329
if(NOT DEFINED _PATCHED_FLANN_INSTALL_DIR_)
332330
message(FATAL_ERROR "PATCH: _PATCHED_FLANN_INSTALL_DIR_ is required!")
333331
endif()
334332

335-
# Eigen3 (required)
336-
find_package(Eigen3 3.3 REQUIRED NO_MODULE)
337-
if(NOT EIGEN3_FOUND AND Eigen3_FOUND)
338-
set(EIGEN3_FOUND ${Eigen3_FOUND})
339-
endif()
340-
341333
# FLANN
342334
find_package(FLANN 1.9.1)
343335
if(NOT FLANN_FOUND)

0 commit comments

Comments
 (0)