diff options
author | Aleix Pol <aleixpol@kde.org> | 2017-04-11 15:49:38 +0200 |
---|---|---|
committer | Aleix Pol <aleixpol@kde.org> | 2017-04-11 15:49:38 +0200 |
commit | 78529f4452b2e09d9f579d7723f7cb7634f43e7c (patch) | |
tree | b2c6146a046317da7f32634175e345c972f57409 | |
parent | 0a33e0d7e3b5d2ea08647cb99ad0dffff6c558ba (diff) | |
download | extra-cmake-modules-78529f4452b2e09d9f579d7723f7cb7634f43e7c.tar.gz extra-cmake-modules-78529f4452b2e09d9f579d7723f7cb7634f43e7c.tar.bz2 |
Allow test to work with older versions of qmlplugindump
-rw-r--r-- | modules/test_execute_and_compare.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/test_execute_and_compare.cmake b/modules/test_execute_and_compare.cmake index caf72f38..0f325d95 100644 --- a/modules/test_execute_and_compare.cmake +++ b/modules/test_execute_and_compare.cmake @@ -1,6 +1,6 @@ string(REPLACE / ";" processedArgs "${ARG_UNPARSED_ARGUMENTS}") -execute_process(COMMAND qmlplugindump -nonrelocatable ${processedArgs} ${KDE_INSTALL_QMLDIR} -output ${CMAKE_CURRENT_SOURCE_DIR}/plugins.qmltypes RESULT_VARIABLE code) +execute_process(COMMAND qmlplugindump -nonrelocatable ${processedArgs} ${KDE_INSTALL_QMLDIR} > ${CMAKE_CURRENT_SOURCE_DIR}/plugins.qmltypes RESULT_VARIABLE code) if(code) message(FATAL_ERROR "Could not call qmlplugindump successfully. Exited with code ${code}") endif() |