Explorar o código

Changed QML plugin install dir. Hope this works on other distros than
Arch too.

(cherry picked from commit e8cc3dfd77b9032ece1dfb3deef1290c20ddab61)

Malte Veerman %!s(int64=9) %!d(string=hai) anos
pai
achega
2adea1ad08
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      import/CMakeLists.txt

+ 3 - 2
import/CMakeLists.txt

@@ -48,5 +48,6 @@ include_directories(${Qt5Qml_INCLUDE_DIRS})
 add_library(fancontrol_qml_plugin SHARED ${LIB_SRCS})
 target_link_libraries(fancontrol_qml_plugin PRIVATE ${LIB_PRIVATE_LIBRARIES} PUBLIC ${LIB_PUBLIC_LIBRARIES})
 
-install(TARGETS fancontrol_qml_plugin DESTINATION "${KDE_INSTALL_QMLDIR}/Fancontrol/Qml/")
-install(FILES ${QML_FILES} DESTINATION "${KDE_INSTALL_QMLDIR}/Fancontrol/Qml/")
+
+install(TARGETS fancontrol_qml_plugin DESTINATION "${KDE_INSTALL_LIBDIR}/qt/qml/Fancontrol/Qml/")
+install(FILES ${QML_FILES} DESTINATION "${KDE_INSTALL_FULL_LIBDIR}/qt/qml/Fancontrol/Qml/")