Squash project setup refactor
This commit is contained in:
committed by
Georg Hagen
parent
6a1a76f4d1
commit
071ced8cb0
14
3rdParty/catch2/CMakeLists.txt
vendored
Normal file
14
3rdParty/catch2/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
include (FetchContent)
|
||||
|
||||
if(NOT DEFINED CATCH_REPO)
|
||||
set(CATCH_REPO https://github.com/catchorg/Catch2.git)
|
||||
endif ()
|
||||
|
||||
FetchContent_Declare(
|
||||
Catch2
|
||||
GIT_REPOSITORY ${CATCH_REPO}
|
||||
GIT_TAG v3.6.0
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(Catch2)
|
||||
Reference in New Issue
Block a user