From 60acacad51f0d5dad00ea7969f762becf3834ba5 Mon Sep 17 00:00:00 2001 From: Casper Meijn Date: Sun, 16 Jun 2019 17:07:15 +0200 Subject: [PATCH] cmake: Change qmldir to lib/qml This is in line with KDE (see https://api.kde.org/ecm/kde-module/KDEInstallDirs.html#QMLDIR) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 88746affe..7ef92f463 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,7 +74,7 @@ if(NOT CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) set(QTAV_INSTALL_HEADERS ${CMAKE_INSTALL_PREFIX}/include) set(QTAV_INSTALL_LIBS ${CMAKE_INSTALL_PREFIX}/lib) set(QTAV_INSTALL_BINS ${CMAKE_INSTALL_PREFIX}/bin) - set(QTAV_INSTALL_QML ${CMAKE_INSTALL_PREFIX}/qml) + set(QTAV_INSTALL_QML ${QTAV_INSTALL_LIBS}/qml) else() set(CMAKE_INSTALL_PREFIX ${QT_INSTALL_PREFIX} CACHE PATH "default install path" FORCE) set(QTAV_INSTALL_HEADERS ${QT_INSTALL_HEADERS})