You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2012/12/12 22:45:56 UTC

svn commit: r1420994 - /qpid/proton/trunk/proton-c/CMakeLists.txt

Author: astitcher
Date: Wed Dec 12 21:45:55 2012
New Revision: 1420994

URL: http://svn.apache.org/viewvc?rev=1420994&view=rev
Log:
PROTON-170: Fix pkg-config file

Modified:
    qpid/proton/trunk/proton-c/CMakeLists.txt

Modified: qpid/proton/trunk/proton-c/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/CMakeLists.txt?rev=1420994&r1=1420993&r2=1420994&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/CMakeLists.txt Wed Dec 12 21:45:55 2012
@@ -269,6 +269,11 @@ install (FILES LICENSE README TODO
          DESTINATION ${PROTON_SHARE})
 
 # Pkg config file
+# Compatible variable names used in the pkg config files also for autoconf
+get_filename_component (PREFIX ${CMAKE_INSTALL_PREFIX} ABSOLUTE)
+get_filename_component (EXEC_PREFIX ${CMAKE_INSTALL_PREFIX} ABSOLUTE)
+get_filename_component (LIBDIR ${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR} ABSOLUTE)
+get_filename_component (INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR} ABSOLUTE)
 
 configure_file(${PROJECT_SOURCE_DIR}/src/libqpid-proton.pc.in
          ${PROJECT_BINARY_DIR}/libqpid-proton.pc @ONLY)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org