Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

GIT_EXECUTABLE undefined

This script needs to find_package for git so that GIT_EXECUTABLE is defined.
Commit
72e96d9d04e45bebcf5ffc398fd57527266a3877
Author
Aaron Simmons ·
Parents
472dc2a61f95

Files · Download .tar.gz

Changes

 docs/build-systems.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/build-systems.md b/docs/build-systems.md
index a0aed10a..1cb93c87 100644
--- a/docs/build-systems.md
+++ b/docs/build-systems.md
@@ -8,6 +8,7 @@ You can use the following CMake script to automatically fetch Catch from github
 cmake_minimum_required(VERSION 2.8.8)
 project(catch_builder CXX)
 include(ExternalProject)
+find_package(Git REQUIRED)
 
 ExternalProject_Add(
     catch
@@ -33,4 +34,4 @@ If you put it in, e.g., `${PROJECT_SRC_DIR}/${EXT_PROJECTS_DIR}/catch/`, you can
 add_subdirectory(${EXT_PROJECTS_DIR}/catch)
 include_directories(${CATCH_INCLUDE_DIR} ${COMMON_INCLUDES})
 enable_testing(true)  # Enables unit-testing.
-```
\ No newline at end of file
+```