From c0d78d5aa192213d95cd759fc1d78e409f5291e2 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 17 Jun 2015 17:05:05 -0700 Subject: [PATCH] make KWayland usable from qmake --- src/wayland/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wayland/CMakeLists.txt b/src/wayland/CMakeLists.txt index 687ee53e30..63e8e3679b 100644 --- a/src/wayland/CMakeLists.txt +++ b/src/wayland/CMakeLists.txt @@ -98,3 +98,8 @@ install(FILES touch_interface.h DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KWayland/Server COMPONENT Devel ) + +include(ECMGeneratePriFile) +ecm_generate_pri_file(BASE_NAME KWaylandServer LIB_NAME KF5WaylandServer DEPS "core" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}) +install(FILES ${PRI_FILENAME} + DESTINATION ${ECM_MKSPECS_INSTALL_DIR})