Skip to content

Commit bf65ced

Browse files
committed
Better instructions for installing Catch 2. Catch 3 is not supported.
1 parent 3dce49a commit bf65ced

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
INCLUDE (CheckIncludeFileCXX)
22

3-
# If catch.hpp is not present, we want to simply skip compiling the tests. This
4-
# allows someone to compile and install libusbp without having catch installed.
5-
# The header can either be installed in this directory or in a standard system
6-
# location.
3+
# If catch.hpp is not present, we want to simply skip compiling the tests.
4+
# Download catch.hpp and put it in this directory:
5+
# https://raw.githubusercontent.com/catchorg/Catch2/v2.x/single_include/catch2/catch.hpp
76
set (CMAKE_REQUIRED_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}")
87
CHECK_INCLUDE_FILE_CXX (catch.hpp HAVE_CATCH_FRAMEWORK)
98
if (NOT HAVE_CATCH_FRAMEWORK)

0 commit comments

Comments
 (0)