From 6aee6db48c36489e401309740313b1cda0e7dea5 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Sun, 24 Nov 2013 13:18:32 +0100 Subject: [PATCH] pkg-config: adapt include dir Let include dir actually point to the directory where the header files are. --- include/libstick-0.1/simplicialcomplex.h | 2 +- lib/libstick.pc.cmake | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/libstick-0.1/simplicialcomplex.h b/include/libstick-0.1/simplicialcomplex.h index 973d632..4dddc79 100644 --- a/include/libstick-0.1/simplicialcomplex.h +++ b/include/libstick-0.1/simplicialcomplex.h @@ -10,7 +10,7 @@ #include -#include +#include "booleanmatrix.h" namespace libstick { diff --git a/lib/libstick.pc.cmake b/lib/libstick.pc.cmake index 5d4f9a3..7e10cb9 100644 --- a/lib/libstick.pc.cmake +++ b/lib/libstick.pc.cmake @@ -1,6 +1,7 @@ prefix=@CMAKE_INSTALL_PREFIX@ +pkgnv=@PACKAGE_STRING@-@PACKAGE_VERSION@ libdir=${prefix}/lib -includedir=${prefix}/include +includedir=${prefix}/include/${pkgnv} Name: @PACKAGE_STRING@ Description: A peristent homology library -- 2.39.5