mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 14:59:27 +00:00
tests: avoid false DOWNLOAD_CATCH manually-specified variables warning (#5803)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
# CATCH_INCLUDE_DIR - path to catch.hpp
|
||||
# CATCH_VERSION - version number
|
||||
|
||||
option(DOWNLOAD_CATCH "Download catch2 if not found")
|
||||
|
||||
if(NOT Catch_FIND_VERSION)
|
||||
message(FATAL_ERROR "A version number must be specified.")
|
||||
elseif(Catch_FIND_REQUIRED)
|
||||
|
||||
Reference in New Issue
Block a user