fix: minor CMake warning fix for unused variable (#3718)

This commit is contained in:
Henry Schreiner 2022-02-10 17:03:33 -05:00 committed by GitHub
parent ec24786eab
commit 46dcd9bc75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@
# 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)