From cbae6d55c207a3616ceb071127a59655587abb57 Mon Sep 17 00:00:00 2001 From: OnlineCop Date: Fri, 12 Feb 2021 15:11:23 -0700 Subject: [PATCH] docs: fix CMake status for DOWNLOAD_EIGEN (#2857) Co-authored-by: OnlineCop --- tests/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3bfd5f1cae..9ff6c0dd9a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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()