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)
67
67
list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR} /../tools" )
68
68
69
69
option (PYBIND11_WERROR "Report all warnings as errors" OFF )
70
+ option (DOWNLOAD_CATCH "Download catch2 if not found" OFF )
70
71
option (DOWNLOAD_EIGEN "Download EIGEN" OFF )
71
72
option (PYBIND11_CUDA_TESTS "Enable building CUDA tests" OFF )
72
73
option (PYBIND11_TEST_SMART_HOLDER "Change the default to smart holder" OFF )
Original file line number Diff line number Diff line change 9
9
# CATCH_INCLUDE_DIR - path to catch.hpp
10
10
# CATCH_VERSION - version number
11
11
12
- option (DOWNLOAD_CATCH "Download catch2 if not found" )
13
-
14
12
if (NOT Catch_FIND_VERSION )
15
13
message (FATAL_ERROR "A version number must be specified." )
16
14
elseif (Catch_FIND_REQUIRED )
You can’t perform that action at this time.
0 commit comments