CMake: Report an error if unit tests are not found for a module.

Change-Id: Ic1540cfb04bf975a14bf2b35f4402bd36046de67
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
bb10
Stephen Kelly 2014-06-17 10:41:38 +02:00
parent 7cc893b216
commit c2c90b95bf
1 changed files with 2 additions and 0 deletions

View File

@ -291,3 +291,5 @@ exists($$cmake_macros_file.input) {
}
cmake_qt5_module_files.path = $$[QT_INSTALL_LIBS]/cmake/Qt5$${CMAKE_MODULE_NAME}
!exists($$MODULE_BASE_INDIR/tests/auto/cmake): error("Missing CMake tests.")