We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44048d4 commit 62dd6d6Copy full SHA for 62dd6d6
1 file changed
tests/CMakeLists.txt
@@ -17,6 +17,9 @@ message( STATUS "Building GauXC Tests" )
17
add_library( gauxc_catch2 INTERFACE )
18
19
find_package( Catch2 CONFIG QUIET )
20
+if( Catch2_FOUND AND Catch2_VERSION VERSION_GREATER_EQUAL 3 )
21
+ message(FATAL_ERROR "Catch2 v${Catch2_VERSION} found, but tests require Catch2 v2 (catch2/catch.hpp). Please install v2.")
22
+endif()
23
if( NOT Catch2_FOUND )
24
25
FetchContent_Declare(
0 commit comments