Commit 3afd7f7c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

install kio plugin in kf<version>

parent e84c6fac
Pipeline #125533 passed with stage
in 40 seconds
......@@ -4,7 +4,7 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kio5_kamera\")
set(kio_kamera_PART_SRCS kamera.cpp )
configure_file(camera.json.cmake ${CMAKE_CURRENT_BINARY_DIR}/camera.json )
add_library(kio_kamera MODULE ${kio_kamera_PART_SRCS})
include_directories(${GPHOTO2_INCLUDE_DIRS} ${CMAKE_BINARY_DIR})
......@@ -17,4 +17,4 @@ target_link_libraries(kio_kamera
${GPHOTO2_LIBRARIES}
)
install(TARGETS kio_kamera DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kio )
install(TARGETS kio_kamera DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf${QT_MAJOR_VERSION}/kio )
......@@ -4,7 +4,7 @@
"Class": ":local",
"Icon": "camera-photo",
"deleting": true,
"exec": "kf5/kio/kio_kamera",
"exec": "kf@QT_MAJOR_VERSION@/kio/kio_kamera",
"input": "none",
"linking": false,
"listing": [
......
Markdown is supported
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