From 8c859e48647458af66594a069dacc5a5f513df3a Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 10 Feb 2022 17:03:33 -0500 Subject: [PATCH] fix: minor CMake warning fix for unused variable (#3718) --- tools/FindCatch.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/FindCatch.cmake b/tools/FindCatch.cmake index 4d6bffcf68..57bba58b30 100644 --- a/tools/FindCatch.cmake +++ b/tools/FindCatch.cmake @@ -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)