Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
8c859e48
Commit
8c859e48
authored
Feb 10, 2022
by
Henry Schreiner
Browse files
fix: minor CMake warning fix for unused variable (#3718)
parent
ec24786e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tools/FindCatch.cmake
tools/FindCatch.cmake
+2
-0
No files found.
tools/FindCatch.cmake
View file @
8c859e48
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
# CATCH_INCLUDE_DIR - path to catch.hpp
# CATCH_INCLUDE_DIR - path to catch.hpp
# CATCH_VERSION - version number
# CATCH_VERSION - version number
option
(
DOWNLOAD_CATCH
"Download catch2 if not found"
)
if
(
NOT Catch_FIND_VERSION
)
if
(
NOT Catch_FIND_VERSION
)
message
(
FATAL_ERROR
"A version number must be specified."
)
message
(
FATAL_ERROR
"A version number must be specified."
)
elseif
(
Catch_FIND_REQUIRED
)
elseif
(
Catch_FIND_REQUIRED
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment