Skip to content

Commit

Permalink
let's still use our Eigen patch for include search directories (it wa…
Browse files Browse the repository at this point in the history
…nts the config file by default)
  • Loading branch information
AnastaZIuk committed Sep 2, 2024
1 parent 0c88afe commit caba63b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -324,20 +324,12 @@ if(NOT DEFINED PC_EIGEN_INCLUDE_DIRS)
message(FATAL_ERROR "PATCH: PC_EIGEN_INCLUDE_DIRS is required!")
endif()

find_package(Eigen 3.3 REQUIRED)

# FLANN (required)
# PATCH: manually set flann.pc variables and make it work with build system
if(NOT DEFINED _PATCHED_FLANN_INSTALL_DIR_)
message(FATAL_ERROR "PATCH: _PATCHED_FLANN_INSTALL_DIR_ is required!")
endif()

# Eigen3 (required)
find_package(Eigen3 3.3 REQUIRED NO_MODULE)
if(NOT EIGEN3_FOUND AND Eigen3_FOUND)
set(EIGEN3_FOUND ${Eigen3_FOUND})
endif()

# FLANN
find_package(FLANN 1.9.1)
if(NOT FLANN_FOUND)
Expand Down

0 comments on commit caba63b

Please sign in to comment.