Add and install .pc file for QtJolie.

svn path=/branches/work/~ervin/qtjolie/; revision=978884
This commit is contained in:
Rob Scheepmaker 2009-06-08 12:49:17 +00:00
parent d99e623ae9
commit da489685b0
2 changed files with 16 additions and 0 deletions

View File

@ -41,3 +41,8 @@ install(FILES
pendingreply.h
server.h
DESTINATION ${INCLUDE_INSTALL_DIR}/qtjolie)
if(NOT WIN32) # pkgconfig file
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/QtJolie.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/QtJolie.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/QtJolie.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
endif(NOT WIN32)

View File

@ -0,0 +1,11 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@EXEC_INSTALL_PREFIX@
libdir=@LIB_INSTALL_DIR@
includedir=@INCLUDE_INSTALL_DIR@
Name: QtJolie
Description: A QtDbus like API for JOLIE
Version: 1.0.0
Requires: QtCore
Libs: -L${libdir} -llibQtJolie
Cflags: -I${includedir}