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

Small fix to generate pc with include path

In CMake module both include and include/catch are added includes
lookup path. Examples are built with #include "catch.hpp" not
#include "catch/catch.hpp". This should be the same with pkg-config.

Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
Commit
319bddd5b89e0a89e1e6e4badf4930242d081664
Author
Alexis Jeandet ·
Committer
Martin Hořeňovský
Parents
931441251e89

Files · Download .tar.gz

Changes

 catch.pc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catch.pc.in b/catch.pc.in
index abd0b66b..c2496d29 100644
--- a/catch.pc.in
+++ b/catch.pc.in
@@ -3,4 +3,4 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
 Name: Catch
 Description: Testing library for C++
 Version: @Catch2_VERSION@
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I${includedir}/catch