diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-09-16 17:53:41 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-09-17 00:30:39 +0200 |
commit | 469dbe5c6d42b3b814d0b99e162c137451222c07 (patch) | |
tree | ec6bcdb73aee39b68237b76ab170ea8d15f05361 /src/corelib/kernel/qsharedmemory.cpp | |
parent | 0e90bdbaa43b05a0c0711c78c749bb8379efa755 (diff) |
CMake: Fix _qt_is_test_executable assignment for tests
_qt_is_test_executable can only be set on a test that is backed by a
real target. QMLTESTs might not backed by an executable target, if
they are missing cpp SOURCES.
Which led to errors like
CMake Error at
cmake/QtTestHelpers.cmake:510
(set_target_properties):
set_target_properties Can not find target to add properties to:
textedit
Call Stack (most recent call first):
tests/auto/qmltest/textedit/CMakeLists.txt:10 (qt_internal_add_test)
Amends 62c681a5991b7f215e108f74c1dd3dd58c1d92c7
Change-Id: Ie66fd3e94484562061f851c0a034629959d091da
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/corelib/kernel/qsharedmemory.cpp')
0 files changed, 0 insertions, 0 deletions