diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-02-24 14:12:46 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-02-25 15:43:15 +0100 |
commit | 8ab59fd8b358f6aee94b5b2907209170b28acaca (patch) | |
tree | 6aaa1e9c8ab65d8cc02f642f9a0ede01f6277422 /src/plugins | |
parent | ae9f0aa86aba649f2cbde832d5519b7804fd5c0c (diff) |
CMake: Fix 3rd party library installation
Libraries created with qt_add_3rdparty_library should be installed
when the qmake 'installed' value is set in CONFIG. Introduce a new
INSTALL option to handle that in CMake projects.
If the value is provided, the library should always be installed
regardless of whether it's a shared or static library.
Fix the libraries to be installed to BINDIR/LIBDIR instead of
the config install dir.
Also install the CMake config files into the config install dir.
Change-Id: I86f1ef47680f08669a77db77e0d986f47d5fae2d
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions