Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Add-ons
Commits
6b74af8a
Commit
6b74af8a
authored
Jan 12, 2018
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve linking interface metadata of libplasmaweatherprivate
parent
8781a774
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
applets/weather/CMakeLists.txt
applets/weather/CMakeLists.txt
+1
-4
libs/plasmaweather/CMakeLists.txt
libs/plasmaweather/CMakeLists.txt
+3
-0
No files found.
applets/weather/CMakeLists.txt
View file @
6b74af8a
add_definitions
(
-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.plasma.weather\"
)
include_directories
(
${
CMAKE_SOURCE_DIR
}
/libs
)
set
(
weatherapplet_SRCS
weatherapplet.cpp
)
...
...
@@ -16,6 +12,7 @@ target_link_libraries(plasma_applet_weather
KF5::Plasma
KF5::UnitConversion
KF5::IconThemes
KF5::I18n
)
install
(
TARGETS plasma_applet_weather DESTINATION
${
PLUGIN_INSTALL_DIR
}
/plasma/applets
)
...
...
libs/plasmaweather/CMakeLists.txt
View file @
6b74af8a
...
...
@@ -22,8 +22,10 @@ add_library(plasmaweather SHARED ${plasmaweather_LIB_SRCS})
generate_export_header
(
plasmaweather
)
target_link_libraries
(
plasmaweather
PUBLIC
KF5::Plasma
KF5::UnitConversion
PRIVATE
KF5::WidgetsAddons
KF5::Notifications
KF5::I18n
...
...
@@ -31,6 +33,7 @@ target_link_libraries(plasmaweather
set_target_properties
(
plasmaweather PROPERTIES
OUTPUT_NAME plasmaweatherprivate
)
target_include_directories
(
plasmaweather INTERFACE
"$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/..>"
)
install
(
TARGETS plasmaweather
${
KDE_INSTALL_TARGETS_DEFAULT_ARGS
}
)
# nothing outside of kdeplasma-addons uses this library, and the API is not stable -> do not install headers!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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