diff options
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a23bd70..4e64104 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,14 +162,10 @@ else() endif() if (USE_QT_PLUGIN_DIR) - if (USE_QT5) - set(QTGSTREAMER_QTQUICK2_INSTALL_DIR ${QT_IMPORTS_DIR}) - else() - set(QTGSTREAMER_QTQUICK1_INSTALL_DIR ${QT_IMPORTS_DIR}) - endif() + set(QTGSTREAMER_QTQUICK1_INSTALL_DIR ${QT_IMPORTS_DIR}) else() if (USE_QT5) - set(QTGSTREAMER_QTQUICK2_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/qt5/qml) + set(QTGSTREAMER_QTQUICK1_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/qt5/imports) else() set(QTGSTREAMER_QTQUICK1_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/qt4/imports) endif() |