mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
GIT_EXECUTABLE undefined
This script needs to find_package for git so that GIT_EXECUTABLE is defined.
This commit is contained in:
parent
472dc2a61f
commit
72e96d9d04
@ -8,6 +8,7 @@ You can use the following CMake script to automatically fetch Catch from github
|
|||||||
cmake_minimum_required(VERSION 2.8.8)
|
cmake_minimum_required(VERSION 2.8.8)
|
||||||
project(catch_builder CXX)
|
project(catch_builder CXX)
|
||||||
include(ExternalProject)
|
include(ExternalProject)
|
||||||
|
find_package(Git REQUIRED)
|
||||||
|
|
||||||
ExternalProject_Add(
|
ExternalProject_Add(
|
||||||
catch
|
catch
|
||||||
|
Loading…
Reference in New Issue
Block a user