diff options
author | Kai Koehne <kai.koehne@qt.io> | 2019-06-05 14:49:09 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-06-05 13:22:07 +0000 |
commit | 4e62517b9e72e7cb84e166134f90e06a83fdcf32 (patch) | |
tree | fc688a26aa0d56e78c18b0f847df703a3ccc9ca2 /cmake/QtModuleToolsDependencies.cmake.in | |
parent | 81fee7732d1096e3456de8b49cea592544f8ec85 (diff) |
CMake: Disable autotests for non-developer builds
Mimic the behavior in the qmake build system, and by default build
tests for developer-build, and not build it for a normal build.
To do this, we define BUILD_TESTING with the right default before
including CTest, which does otherwise define the option itself.
Change-Id: Ifa1b1156477919abc1e916ccd9e1e0a74e969ee6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtModuleToolsDependencies.cmake.in')
0 files changed, 0 insertions, 0 deletions