File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ project(pybind11_tests CXX)
6767list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR} /../tools" )
6868
6969option (PYBIND11_WERROR "Report all warnings as errors" OFF )
70+ option (DOWNLOAD_CATCH "Download catch2 if not found" OFF )
7071option (DOWNLOAD_EIGEN "Download EIGEN" OFF )
7172option (PYBIND11_CUDA_TESTS "Enable building CUDA tests" OFF )
7273option (PYBIND11_TEST_SMART_HOLDER "Change the default to smart holder" OFF )
Original file line number Diff line number Diff line change 99# CATCH_INCLUDE_DIR - path to catch.hpp
1010# CATCH_VERSION - version number
1111
12- option (DOWNLOAD_CATCH "Download catch2 if not found" )
13-
1412if (NOT Catch_FIND_VERSION)
1513 message (FATAL_ERROR "A version number must be specified." )
1614elseif (Catch_FIND_REQUIRED)
You can’t perform that action at this time.
0 commit comments