From 319bddd5b89e0a89e1e6e4badf4930242d081664 Mon Sep 17 00:00:00 2001 From: Alexis Jeandet Date: Sun, 1 Apr 2018 19:14:59 +0200 Subject: [PATCH] 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 --- 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