Skip to content

Commit 8c859e4

Browse files
committed
fix: minor CMake warning fix for unused variable (#3718)
1 parent ec24786 commit 8c859e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/FindCatch.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
# CATCH_INCLUDE_DIR - path to catch.hpp
1010
# CATCH_VERSION - version number
1111

12+
option(DOWNLOAD_CATCH "Download catch2 if not found")
13+
1214
if(NOT Catch_FIND_VERSION)
1315
message(FATAL_ERROR "A version number must be specified.")
1416
elseif(Catch_FIND_REQUIRED)

0 commit comments

Comments
 (0)