pkg-config: adapt include dir
authorStefan Huber <shuber@sthu.org>
Sun, 24 Nov 2013 12:18:32 +0000 (13:18 +0100)
committerStefan Huber <shuber@sthu.org>
Tue, 14 Jan 2014 15:19:07 +0000 (16:19 +0100)
Let include dir actually point to the directory where the header files
are.

include/libstick-0.1/simplicialcomplex.h
lib/libstick.pc.cmake

index 973d632e548d581fc3b893df6582644f5ce6e021..4dddc791b619fe3faab6fdbeebce239012672ad8 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <iostream>
 
-#include <libstick-0.1/booleanmatrix.h>
+#include "booleanmatrix.h"
 
 
 namespace libstick {
index 5d4f9a363490ef7de0e894befb59ff39a9f1aead..7e10cb9647347973651f48382a7aea85122eb5c3 100644 (file)
@@ -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