summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Federau <benjamin.federau@basyskom.com>2014-01-08 10:12:59 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-01-08 10:12:59 +0100
commit93a489d29422cf15781239931919aa6d13b5c7c9 (patch)
tree1c549ca45dcab415a4ab88edff4d9e43a309fde5
parentc326d554b22a24e2755cf80ebd6a2a3b49caabc2 (diff)
cmake: Fix install path for QtQuick2 library
https://bugzilla.gnome.org/show_bug.cgi?id=721714
-rw-r--r--CMakeLists.txt8
1 files 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()