mirror of https://github.com/koide3/small_gicp.git
Fix Eigen CMake variable (#48)
This commit is contained in:
parent
3f61cb0c39
commit
6e7b77897b
|
|
@ -40,9 +40,9 @@ if(BUILD_TESTS OR BUILD_EXAMPLES)
|
|||
endif()
|
||||
|
||||
# Eigen is the sole mandatory dependency
|
||||
find_package(Eigen3)
|
||||
find_package(Eigen3 CONFIG)
|
||||
|
||||
if(NOT EIGEN3_FOUND)
|
||||
if(NOT Eigen3_FOUND)
|
||||
message(STATUS "System Eigen not found. Download Eigen 3.3.9.")
|
||||
include(FetchContent)
|
||||
FetchContent_Populate(
|
||||
|
|
|
|||
Loading…
Reference in New Issue