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
parent
7cc893b216
commit
c2c90b95bf
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Reference in New Issue