pkg-config: adapt include dir
[libstick.git] / lib / libstick.pc.cmake
index 1a577946fb7b2f74d7827db2a7bba503be1982aa..7e10cb9647347973651f48382a7aea85122eb5c3 100644 (file)
@@ -1,9 +1,11 @@
 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 libarary
+Description: A peristent homology library
 Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lm
-Cflags: -I${includedir}/@PACKAGE_STRING@-@PACKAGE_VERSION@
+URL: http://www.sthu.org
+Libs: -L${libdir}
+Cflags: -I${includedir}