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
Utilities
KGpg
Commits
e606950b
Commit
e606950b
authored
Aug 29, 2021
by
Laurent Montel
😁
Browse files
We depend against qt5.15 so we can use directly qt macro
parent
8a77b1dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
e606950b
...
...
@@ -205,9 +205,9 @@ set(kgpg_HDRS
sourceselect.h
)
qt
5
_add_dbus_adaptor
(
kgpg_SRCS org.kde.kgpg.Key.xml keysmanager.h KeysManager
)
qt_add_dbus_adaptor
(
kgpg_SRCS org.kde.kgpg.Key.xml keysmanager.h KeysManager
)
qt
5
_add_dbus_interface
(
kgpg_SRCS org.kde.kgpg.Key.xml kgpg_interface
)
qt_add_dbus_interface
(
kgpg_SRCS org.kde.kgpg.Key.xml kgpg_interface
)
ki18n_wrap_ui
(
kgpg_SRCS
adduid.ui
...
...
@@ -262,7 +262,7 @@ target_link_libraries(kgpg_lib
KF5::XmlGui
KF5::WidgetsAddons
KF5::WindowSystem
Qt
5
::PrintSupport
Qt::PrintSupport
)
if
(
BUILD_TESTING
)
...
...
tests/CMakeLists.txt
View file @
e606950b
...
...
@@ -6,7 +6,7 @@ target_link_libraries(kgpg_tests_common kgpg_lib)
function
(
create_test name
)
add_executable
(
${
name
}
${
ARGN
}
)
target_link_libraries
(
${
name
}
kgpg_lib kgpg_tests_common Qt
5
::Test
)
target_link_libraries
(
${
name
}
kgpg_lib kgpg_tests_common Qt::Test
)
add_test
(
NAME
${
name
}
COMMAND
${
name
}
)
add_dependencies
(
${
name
}
test-data
)
endfunction
()
...
...
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