Commit 341c0aad authored by Heiko Becker's avatar Heiko Becker
Browse files

cmake: Use imported target for qtkeychain

parent f0534fca
Pipeline #138692 passed with stage
in 2 minutes and 52 seconds
......@@ -622,8 +622,7 @@ endif()
## QtKeyChain plugin
if(WITH_QTKEYCHAIN_PLUGIN)
trojita_add_plugin(trojita_plugin_QtKeychainPasswordPlugin WITH_QTKEYCHAIN_PLUGIN src/Plugins/QtKeyChain/QtKeyChainPassword.cpp)
target_link_libraries(trojita_plugin_QtKeychainPasswordPlugin ${QTKEYCHAIN_LIBRARIES} Qt5::DBus)
set_property(TARGET trojita_plugin_QtKeychainPasswordPlugin APPEND PROPERTY INCLUDE_DIRECTORIES ${QTKEYCHAIN_INCLUDE_DIRS})
target_link_libraries(trojita_plugin_QtKeychainPasswordPlugin qt5keychain Qt5::DBus)
endif()
## AbookAddressbook plugin
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment