docs: fix CMake status for DOWNLOAD_EIGEN (#2857)

Co-authored-by: OnlineCop <onlinecop@gmail.com>
This commit is contained in:
OnlineCop
2021-02-12 15:11:23 -07:00
committed by GitHub
parent c236239356
commit cbae6d55c2

View File

@@ -225,7 +225,8 @@ if(PYBIND11_TEST_FILES_EIGEN_I GREATER -1)
message(STATUS "Building tests with Eigen v${EIGEN3_VERSION}")
else()
list(REMOVE_AT PYBIND11_TEST_FILES ${PYBIND11_TEST_FILES_EIGEN_I})
message(STATUS "Building tests WITHOUT Eigen, use -DDOWNLOAD_EIGEN on CMake 3.11+ to download")
message(
STATUS "Building tests WITHOUT Eigen, use -DDOWNLOAD_EIGEN=ON on CMake 3.11+ to download")
endif()
endif()