diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 59440cfe8..8eda8d2f1 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -450,7 +450,7 @@ if (EIGEN_TEST_HIP) endif() endif() -option(EIGEN_TEST_BUILD_DOCUMENTATION "Test building the doxygen documentation" OFF) +cmake_dependent_option(EIGEN_TEST_BUILD_DOCUMENTATION "Test building the doxygen documentation" OFF "EIGEN_BUILD_DOC" OFF) if(EIGEN_TEST_BUILD_DOCUMENTATION) add_dependencies(buildtests doc) endif() |