Browse Source

Fix pkgconfig

Suren A. Chilingaryan 8 years ago
parent
commit
c45ab99e0a
1 changed files with 5 additions and 5 deletions
  1. 5 5
      fastwriter.pc.in

+ 5 - 5
fastwriter.pc.in

@@ -1,10 +1,10 @@
 prefix=${CMAKE_INSTALL_PREFIX}
-exec_prefix=${BIN_INSTALL_DIR}
-libdir=${LIB_INSTALL_DIR}
-includedir=${INCLUDE_INSTALL_DIR}
+exec_prefix=${CMAKE_INSTALL_FULL_BINDIR}
+libdir=${CMAKE_INSTALL_FULL_LIBDIR}
+includedir=${CMAKE_INSTALL_FULL_INCLUDEDIR}
 
 Name: ${TARNAME}
 Description: Fast Streaming Storage Library
 Version: ${PACKAGE_VERSION}
-Libs: -L${LIB_INSTALL_DIR} -lfastwriter
-Cflags: -I${INCLUDE_INSTALL_DIR}
+Libs: -L${CMAKE_INSTALL_FULL_LIBDIR} -lfastwriter
+Cflags: -I${CMAKE_INSTALL_FULL_INCLUDEDIR}