diff options
| author | Alexandru Croitor <[email protected]> | 2020-05-25 18:52:16 +0200 |
|---|---|---|
| committer | Alexandru Croitor <[email protected]> | 2020-05-29 17:17:11 +0200 |
| commit | 4182cf409ef8a029fb43c79d39ddc1ee0d510341 (patch) | |
| tree | 82b32599a6663f37d3ebeebda4a4ed6dcc21bc53 /src/opengl/qplatformbackingstoreopenglsupport.cpp | |
| parent | a50d7005a5385546690520b5c98ac364bb94e85f (diff) | |
CMake: Use default location for installing metatypes json files
Previously configuring a standalone example that had no explicit
INSTALL_DIR option for qt6_generate_meta_types_json_file would fail.
When no explicit location is specified to
qt6_generate_meta_types_json_file via INSTALL_DIR option, default
to installing into a lib/metatypes location relative to the install
prefix.
This is required for supporting calling
qt6_generate_meta_types_json_file when building standalone applications
or libraries (not part of the Qt build).
Make sure not to install the metatypes.json file for executables.
Install it only for libraries (aka modules).
Task-number: QTBUG-84403
Change-Id: Ie0dd75fca0cde71ccb4eb48030871e72d31d1725
Reviewed-by: Joerg Bornemann <[email protected]>
Diffstat (limited to 'src/opengl/qplatformbackingstoreopenglsupport.cpp')
0 files changed, 0 insertions, 0 deletions
