diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-06-20 17:38:47 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-12 18:23:54 +0200 |
commit | ef74730a59fcfd4fff5b719c0310e817737e0efb (patch) | |
tree | 1b53f0bd325d2244d7ef2bcd423b1464119672eb /tests/auto/cmake | |
parent | 50e496bd3ac71ccebc99c0a429b41fb0e7864ac2 (diff) |
CMake: Prevent creation of library target when it already exists
When doing plugin auto-importing as part of a Qt static build, it can
happen that the same module FooConfig.cmake file is loaded twice.
Make sure not to create the same target twice if it was already
created previously.
Task-number: QTBUG-38913
Change-Id: I734c83ff3c0bb9e3ee9bff37971209c57abaa2b9
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/cmake')
0 files changed, 0 insertions, 0 deletions