diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-04-01 15:15:11 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-04-02 08:41:15 +0200 |
commit | 31d45341804a8fa06ed38c72af37c7c2f61b9e3a (patch) | |
tree | 6ad3d660caa1047657b1870720321e2114a96e17 /tests/auto/qml/.prev_CMakeLists.txt | |
parent | 96b546c46b7b4f652ca864cd60be063120805008 (diff) |
Include qjsengine and qjsvalue autotests in the cmake build
This looks like a bug in the pro2cmake tool. It somehow didn't
include those two test cases in the build. Modifying the pro
file slightly makes pro2cmake add them.
Change-Id: If6215f111494d0912e590428a0f4ca2c3b653856
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/.prev_CMakeLists.txt')
-rw-r--r-- | tests/auto/qml/.prev_CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/.prev_CMakeLists.txt b/tests/auto/qml/.prev_CMakeLists.txt index 3f453e4ded..7bcdb68e09 100644 --- a/tests/auto/qml/.prev_CMakeLists.txt +++ b/tests/auto/qml/.prev_CMakeLists.txt @@ -26,6 +26,10 @@ add_subdirectory(qqmlsettings) add_subdirectory(qqmlstatemachine) add_subdirectory(qmldiskcache) add_subdirectory(qqmlmetatype) +if(TARGET Qt::Widgets) + add_subdirectory(qjsengine) + add_subdirectory(qjsvalue) +endif() if(QT_FEATURE_process AND QT_FEATURE_qml_debug) add_subdirectory(debugger) endif() |