Skip to content

Commit

Permalink
fix: minor CMake warning fix for unused variable (#3718)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Mar 2, 2022
1 parent ec24786 commit 8c859e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/FindCatch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8c859e4

Please sign in to comment.