We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dce49a commit bf65cedCopy full SHA for bf65ced
test/CMakeLists.txt
@@ -1,9 +1,8 @@
1
INCLUDE (CheckIncludeFileCXX)
2
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.
+# If catch.hpp is not present, we want to simply skip compiling the tests.
+# Download catch.hpp and put it in this directory:
+# https://raw.githubusercontent.com/catchorg/Catch2/v2.x/single_include/catch2/catch.hpp
7
set (CMAKE_REQUIRED_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}")
8
CHECK_INCLUDE_FILE_CXX (catch.hpp HAVE_CATCH_FRAMEWORK)
9
if (NOT HAVE_CATCH_FRAMEWORK)
0 commit comments