diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-02-11 13:13:43 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-02-12 14:01:26 +0000 |
commit | f1b688bc7c33d93993945e25b9d3aa4cc7215c5f (patch) | |
tree | 828f2eff390cfa165a9775c38b59e196278ce2ae /cmake/FindAtomic.cmake | |
parent | 988162eaf8b2aeae61f820382021116bf4ee391d (diff) |
Fix qt_config_compile_test when cross-compiling
When we do
qt_config_compile_test(egl_x11
LABEL "EGL on X11"
LIBRARIES X11::X11
...
)
then check_cxx_source_compiles() aborts if the provided targets do not
exist (we map LIBRARIES to CMAKE_REQUIRED_LIBRARIES). However we just
want the test to fail. Therefore this patch verifies the presence of the
targets.
Change-Id: Ibd7c1b50d585339af0ca0de58bc5c9cd64d65d6d
Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
Diffstat (limited to 'cmake/FindAtomic.cmake')
0 files changed, 0 insertions, 0 deletions