Merge pull request #260 from paleozogt/patch-1

GIT_EXECUTABLE undefined
This commit is contained in:
Phil Nash 2014-04-18 18:33:46 +01:00
commit 463f7bdf65

View File

@ -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.
```
```