diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2021-05-09 20:27:28 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2021-05-18 08:37:29 +0000 |
commit | b1ccd9ab328cc7f7e34ab653ec93f389b9945e19 (patch) | |
tree | 8ce97344b4ae475d2965802c50a93957d6950502 /tests/auto/buildgraph/CMakeLists.txt | |
parent | 3ec5e234fe40985d58839409c3dce53d4cd78f17 (diff) | |
download | qbs-b1ccd9ab328cc7f7e34ab653ec93f389b9945e19.tar.gz |
cmake: Add bundled QtScript build
Also, make QtScript dependency optional like we do in the Qbs build.
Tested on macOS, Linux and Windows.
CMake 3.15 is now required for the CMP0092 policy which removes default
warning flags from CMAKE_CXX_FLAGS.
Change-Id: I199fb802d5ad72d1ac8d5a89c05372c43581c95d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/buildgraph/CMakeLists.txt')
-rw-r--r-- | tests/auto/buildgraph/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/buildgraph/CMakeLists.txt b/tests/auto/buildgraph/CMakeLists.txt index a3019295e..3d9d0348d 100644 --- a/tests/auto/buildgraph/CMakeLists.txt +++ b/tests/auto/buildgraph/CMakeLists.txt @@ -2,4 +2,6 @@ add_qbs_test(buildgraph SOURCES tst_buildgraph.cpp tst_buildgraph.h + DEPENDS + qbsscriptengine ) |