Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
1cab16d3
Commit
1cab16d3
authored
Feb 22, 2021
by
Dan Leinir Turthra Jensen
🌈
Browse files
GIT_SILENT Fix build by using a custom target for the link
Inspired by the method used by KInfoCenter for it's compatibility link
parent
794ff7ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/lookandfeel/CMakeLists.txt
View file @
1cab16d3
...
...
@@ -138,6 +138,7 @@ if (X11_Xfixes_FOUND)
target_link_libraries
(
plasma-apply-lookandfeel X11::Xfixes
)
endif
()
file
(
CREATE_LINK plasma-apply-lookandfeel
${
CMAKE_BINARY_DIR
}
/bin/lookandfeeltool SYMBOLIC
)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/bin/lookandfeeltool DESTINATION
${
KDE_INSTALL_BINDIR
}
)
ADD_CUSTOM_TARGET
(
plasma-apply-lookandfeel_link ALL
COMMAND
${
CMAKE_COMMAND
}
-E create_symlink
${
KDE_INSTALL_FULL_BINDIR
}
/plasma-apply-lookandfeel
${
CMAKE_CURRENT_BINARY_DIR
}
/lookandfeeltool
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/lookandfeeltool DESTINATION
${
KDE_INSTALL_FULL_BINDIR
}
/
)
install
(
TARGETS plasma-apply-lookandfeel
${
KDE_INSTALL_TARGETS_DEFAULT_ARGS
}
)
Write
Preview
Supports
Markdown
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