Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
8fee17fc
Commit
8fee17fc
authored
Sep 17, 2014
by
Martin Flöser
Browse files
Install library and headers
parent
5e54a86d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/CMakeLists.txt
View file @
8fee17fc
...
...
@@ -12,7 +12,34 @@ add_library(KF5WaylandServer ${SERVER_LIB_SRCS})
generate_export_header
(
KF5WaylandServer BASE_NAME KWaylandServer
)
add_library
(
KF5::WaylandServer ALIAS KF5WaylandServer
)
target_include_directories
(
KF5WaylandServer INTERFACE
"$<INSTALL_INTERFACE:
${
KF5_INCLUDE_INSTALL_DIR
}
/KWayland/Server>"
)
target_link_libraries
(
KF5WaylandServer
PUBLIC Qt5::Gui
PRIVATE Wayland::Server
)
if
(
IS_ABSOLUTE
"
${
KF5_INCLUDE_INSTALL_DIR
}
"
)
target_include_directories
(
KF5WaylandServer INTERFACE
"$<INSTALL_INTERFACE:
${
KF5_INCLUDE_INSTALL_DIR
}
>"
)
else
()
target_include_directories
(
KF5WaylandServer INTERFACE
"$<INSTALL_INTERFACE:
${
CMAKE_INSTALL_PREFIX
}
/
${
KF5_INCLUDE_INSTALL_DIR
}
>"
)
endif
()
set_target_properties
(
KF5WaylandServer PROPERTIES VERSION
${
KWAYLAND_VERSION_STRING
}
SOVERSION
${
KWAYLAND_SOVERSION
}
EXPORT_NAME WaylandServer
)
install
(
TARGETS KF5WaylandServer EXPORT KF5WaylandTargets
${
KF5_INSTALL_TARGETS_DEFAULT_ARGS
}
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/kwaylandserver_export.h
buffer_interface.h
compositor_interface.h
display.h
output_interface.h
seat_interface.h
shell_interface.h
surface_interface.h
DESTINATION
${
KF5_INCLUDE_INSTALL_DIR
}
/KWayland/Server COMPONENT Devel
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment