Commit 8c859e48 by Henry Schreiner

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

parent ec24786e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment