diff options
author | Florian Boucault <florian.boucault@canonical.com> | 2016-07-19 22:41:52 +0200 |
---|---|---|
committer | Florian Boucault <florian.boucault@canonical.com> | 2016-07-19 22:41:52 +0200 |
commit | c6bba62bdac1f3cdb20e9bd7a763a2ec03beeb44 (patch) | |
tree | 171f504f20d8f1d62cbb844f31c5e0a240c9e59b /libqmenumodel/QMenuModel | |
parent | 9efd410b91168d2afe730d3fc53bc8718ca39347 (diff) | |
download | qmenumodel-c6bba62bdac1f3cdb20e9bd7a763a2ec03beeb44.tar.gz qmenumodel-c6bba62bdac1f3cdb20e9bd7a763a2ec03beeb44.tar.bz2 qmenumodel-c6bba62bdac1f3cdb20e9bd7a763a2ec03beeb44.zip |
Crossbuilding fixes.
Diffstat (limited to 'libqmenumodel/QMenuModel')
-rw-r--r-- | libqmenumodel/QMenuModel/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libqmenumodel/QMenuModel/CMakeLists.txt b/libqmenumodel/QMenuModel/CMakeLists.txt index 78e062b..eb4d463 100644 --- a/libqmenumodel/QMenuModel/CMakeLists.txt +++ b/libqmenumodel/QMenuModel/CMakeLists.txt @@ -24,11 +24,7 @@ qt5_use_modules(qmenumodel-qml Qml Quick) execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR}/qmldir" "${CMAKE_CURRENT_BINARY_DIR}/qmldir") -execute_process( - COMMAND qmake -query QT_INSTALL_QML - OUTPUT_VARIABLE QT_IMPORTS_DIR - OUTPUT_STRIP_TRAILING_WHITESPACE -) +set(QT_IMPORTS_DIR "${CMAKE_INSTALL_LIBDIR}/qt5/qml") set(QMLPLUGIN_INSTALL_PREFIX "${QT_IMPORTS_DIR}/QMenuModel") install(TARGETS qmenumodel-qml DESTINATION ${QMLPLUGIN_INSTALL_PREFIX}) install(FILES qmldir DESTINATION ${QMLPLUGIN_INSTALL_PREFIX}) |