mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-21 20:55:11 +00:00
fix: minor CMake warning fix for unused variable (#3718)
This commit is contained in:
parent
ec24786eab
commit
46dcd9bc75
@ -9,6 +9,8 @@
|
|||||||
# CATCH_INCLUDE_DIR - path to catch.hpp
|
# CATCH_INCLUDE_DIR - path to catch.hpp
|
||||||
# CATCH_VERSION - version number
|
# CATCH_VERSION - version number
|
||||||
|
|
||||||
|
option(DOWNLOAD_CATCH "Download catch2 if not found")
|
||||||
|
|
||||||
if(NOT Catch_FIND_VERSION)
|
if(NOT Catch_FIND_VERSION)
|
||||||
message(FATAL_ERROR "A version number must be specified.")
|
message(FATAL_ERROR "A version number must be specified.")
|
||||||
elseif(Catch_FIND_REQUIRED)
|
elseif(Catch_FIND_REQUIRED)
|
||||||
|
Loading…
Reference in New Issue
Block a user