From 93a489d29422cf15781239931919aa6d13b5c7c9 Mon Sep 17 00:00:00 2001 From: Benjamin Federau Date: Wed, 8 Jan 2014 10:12:59 +0100 Subject: cmake: Fix install path for QtQuick2 library https://bugzilla.gnome.org/show_bug.cgi?id=721714 --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e64104..a23bd70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,10 +162,14 @@ else() endif() if (USE_QT_PLUGIN_DIR) - set(QTGSTREAMER_QTQUICK1_INSTALL_DIR ${QT_IMPORTS_DIR}) + if (USE_QT5) + set(QTGSTREAMER_QTQUICK2_INSTALL_DIR ${QT_IMPORTS_DIR}) + else() + set(QTGSTREAMER_QTQUICK1_INSTALL_DIR ${QT_IMPORTS_DIR}) + endif() else() if (USE_QT5) - set(QTGSTREAMER_QTQUICK1_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/qt5/imports) + set(QTGSTREAMER_QTQUICK2_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/qt5/qml) else() set(QTGSTREAMER_QTQUICK1_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/qt4/imports) endif() -- cgit v1.2.3