Specify major version for Catch2
This commit is contained in:
parent
24a83dfa08
commit
4b474e21ed
@ -1,6 +1,6 @@
|
|||||||
project(testsRaiiSafeCuda CXX)
|
project(testsRaiiSafeCuda CXX)
|
||||||
|
|
||||||
find_package(Catch2)
|
find_package(Catch2 3)
|
||||||
if (NOT Catch2_FOUND)
|
if (NOT Catch2_FOUND)
|
||||||
message(STATUS "Using FetchContent to download and use Catch2")
|
message(STATUS "Using FetchContent to download and use Catch2")
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
Loading…
Reference in New Issue
Block a user