summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-06-15 15:37:54 +0300
committerArtturin <Artturin@artturin.com>2022-06-15 15:37:54 +0300
commitfa1ef9a27d8762f5588ac2e92554a188e73dee9f (patch)
tree5190c09c4fdfde4e6388b2c3466f3f2c691735c8
parent3cca62a33da68143b687c9e486eefc7c7cbb4586 (diff)
downloadraptor-fa1ef9a27d8762f5588ac2e92554a188e73dee9f.tar.gz
fix the cmake generated pc file
before libdir=${exec_prefix}//nix/store/i7abvb760gzca1wqk9g617shqdj5sr7f-raptor2-aarch64-unknown-linux-gnu-2.0.15/lib includedir=${prefix}//nix/store/i7abvb760gzca1wqk9g617shqdj5sr7f-raptor2-aarch64-unknown-linux-gnu-2.0.15/include/raptor2 note the double // due to CMAKE_INSTALL_LIBDIR already being a absolute path after libdir=/nix/store/rlhzlak7chagd23898n1x9id6f5a6qpn-raptor2-aarch64-unknown-linux-gnu-2.0.15/lib includedir=/nix/store/rlhzlak7chagd23898n1x9id6f5a6qpn-raptor2-aarch64-unknown-linux-gnu-2.0.15/include/raptor2
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 77e17990..41829e06 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -378,8 +378,8 @@ ENDIF(RAPTOR_PARSER_RDFXML)
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/raptor2.pc
"prefix=${CMAKE_INSTALL_PREFIX}
exec_prefix=\${prefix}
-libdir=\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}
-includedir=\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}/raptor2
+libdir=${CMAKE_INSTALL_FULL_LIBDIR}
+includedir=${CMAKE_INSTALL_FULL_INCLUDEDIR}/raptor2
Name: Raptor RDF Parsing Library
Description: RDF Parser Toolkit Library