summaryrefslogtreecommitdiff
path: root/protocol/CMakeLists.txt
diff options
context:
space:
mode:
authorMichael Teyfel <mteyfel@de.adit-jv.com>2017-05-16 14:07:25 +0200
committerMichael Teyfel <mteyfel@de.adit-jv.com>2017-05-16 14:07:25 +0200
commit48c3d0df3c199e30d99ebedccf61cb4323bdff04 (patch)
tree8d1cfa5dc1224e21973ae7d3cdd753d63c4f164c /protocol/CMakeLists.txt
parent99e22cdfe3334346c33eff5d3aded3ccd12458e5 (diff)
downloadwayland-ivi-extension-48c3d0df3c199e30d99ebedccf61cb4323bdff04.tar.gz
adjusted cmake files to generate pkg-config files for all shared libraries
Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
Diffstat (limited to 'protocol/CMakeLists.txt')
-rw-r--r--protocol/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/protocol/CMakeLists.txt b/protocol/CMakeLists.txt
index cb7598a..6d2c9dd 100644
--- a/protocol/CMakeLists.txt
+++ b/protocol/CMakeLists.txt
@@ -255,3 +255,18 @@ add_custom_target(ivi-input-doc
COMMENT "Generating ivi-input-api-${IVI_EXTENSION_VERSION}.pdf"
)
+
+#=============================================================================================
+# generate pkg-config file for ivi-application API
+#=============================================================================================
+
+configure_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/ivi-application.pc.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/ivi-application.pc"
+ @ONLY
+)
+
+install(
+ FILES "${CMAKE_CURRENT_BINARY_DIR}/ivi-application.pc"
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
+)