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

Change include -> single_include in CMake example

Commit
51860f156831d3b49f5da63e08cbb068e98c4bdf
Author
Joshua Gerrard ·
Committer
Martin Hořeňovský
Parents
dab1d9d222e7

Files · Download .tar.gz

Changes

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

diff --git a/docs/build-systems.md b/docs/build-systems.md
index b001dc19..a14c93e0 100644
--- a/docs/build-systems.md
+++ b/docs/build-systems.md
@@ -69,7 +69,7 @@ ExternalProject_Add(
 
 # Expose required variable (CATCH_INCLUDE_DIR) to parent scope
 ExternalProject_Get_Property(catch source_dir)
-set(CATCH_INCLUDE_DIR ${source_dir}/include CACHE INTERNAL "Path to include folder for Catch")
+set(CATCH_INCLUDE_DIR ${source_dir}/single_include CACHE INTERNAL "Path to include folder for Catch")
 ```
 
 If you put it in, e.g., `${PROJECT_SRC_DIR}/${EXT_PROJECTS_DIR}/catch/`, you can use it in your project by adding the following to your root CMake file: