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>
This commit is contained in:
Alexis Jeandet 2018-04-01 19:14:59 +02:00 committed by Martin Hořeňovský
parent 931441251e
commit 319bddd5b8

View File

@ -3,4 +3,4 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: Catch Name: Catch
Description: Testing library for C++ Description: Testing library for C++
Version: @Catch2_VERSION@ Version: @Catch2_VERSION@
Cflags: -I${includedir} Cflags: -I${includedir} -I${includedir}/catch