Skip to content
Snippets Groups Projects
Commit 4d729cf4 authored by Martin Zenzes's avatar Martin Zenzes
Browse files

qgv: add QGVCore-uninstalled.pc.in


allows in-src builds when including this cmake project inside others

Signed-off-by: default avatarMartin Zenzes <martin.zenzes@dfki.de>
parent 09b00793
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,8 @@ ENDIF(WIN32)
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/${TARGET_NAME}.pc.in
${CMAKE_CURRENT_BINARY_DIR}/${TARGET_NAME}.pc @ONLY)
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/${TARGET_NAME}-uninstalled.pc.in
${CMAKE_BINARY_DIR}/${TARGET_NAME}-uninstalled.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_NAME}.pc
DESTINATION lib/pkgconfig)
......
libdir=@CMAKE_BINARY_DIR@/lib
includedir=@CMAKE_CURRENT_SOURCE_DIR@
Name: @TARGET_NAME@
Description: @PROJECT_DESCRIPTION@
Version: @PROJECT_VERSION@
Requires: @PKGCONFIG_REQUIRES@
Libs: -L${libdir} -l@TARGET_NAME@ @PKGCONFIG_LIBS@
Cflags: -I${includedir} @PKGCONFIG_CFLAGS@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment