Commit d4a4f47f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix install in kf<version>

parent 550d136e
Pipeline #189180 passed with stage
in 1 minute and 13 seconds
......@@ -8,7 +8,6 @@
"X-DocPath": "kioslave5/gdrive/index.html",
"deleteRecursive": true,
"deleting": true,
"exec": "kf5/kio/gdrive",
"input": "none",
"linking": true,
"listing": [
......
kcoreaddons_add_plugin(purpose_gdrive SOURCES purpose_gdrive.cpp gdrivejob.cpp JSON "purpose_gdrive.json" INSTALL_NAMESPACE "kf5/purpose")
kcoreaddons_add_plugin(purpose_gdrive SOURCES purpose_gdrive.cpp gdrivejob.cpp JSON "purpose_gdrive.json" INSTALL_NAMESPACE "kf${QT_MAJOR_VERSION}/purpose")
target_link_libraries(purpose_gdrive Qt::Core KF5::Purpose)
set_target_properties(purpose_gdrive PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/kf5/purpose")
set_target_properties(purpose_gdrive PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/kf${QT_MAJOR_VERSION}/purpose")
install(FILES "purpose_gdrive_config.qml" DESTINATION ${KDE_INSTALL_DATADIR}/purpose)
target_link_libraries(purpose_gdrive KF5::KIOCore KF5::I18n KF5::Purpose)
kcoreaddons_add_plugin(gdrivecontextmenuaction
SOURCES contextmenuaction.cpp
JSON contextmenuaction.json
INSTALL_NAMESPACE "kf5/kfileitemaction")
INSTALL_NAMESPACE "kf${QT_MAJOR_VERSION}/kfileitemaction")
target_link_libraries(gdrivecontextmenuaction
KF5::I18n
......
......@@ -8,7 +8,7 @@ ki18n_wrap_ui(gdrivepropertiesplugin_SRCS gdrivepropertiesplugin.ui)
kcoreaddons_add_plugin(gdrivepropertiesplugin
SOURCES ${gdrivepropertiesplugin_SRCS}
JSON gdrivepropertiesplugin.json
INSTALL_NAMESPACE "kf5/propertiesdialog")
INSTALL_NAMESPACE "kf${QT_MAJOR_VERSION}/propertiesdialog")
target_link_libraries(gdrivepropertiesplugin
KF5::I18n
......
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