qt5base-lts/mkspecs/features/data/cmake
Joerg Bornemann cca279338c CMake: Fix usage requirements for static builds of Qt on macOS
When scanning the prl files to set up usage requirements for the Qt libraries
we omitted "-framework Foo" flags. Those were passed as linker flags, but not
as interface libraries. Consequently, the frameworks that are used by Qt
libraries were missing on the link line when building against a statically
built Qt.

Fix this issue by scanning the dependencies for "-framework Foo" just like we
do with "-lfoo" flags.

Fixes: QTBUG-80855
Change-Id: Ie7804304141c86207d143a6e1005e78bdc099113
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Kyle Edwards <kyle.edwards@kitware.com>
2020-01-06 12:48:40 +01:00
..
ExtraSourceIncludes.cmake.in Generate source includes in a separate file, if needed. 2013-10-16 15:30:13 +02:00
Qt5BasicConfig.cmake.in CMake: Fix usage requirements for static builds of Qt on macOS 2020-01-06 12:48:40 +01:00
Qt5ConfigVersion.cmake.in Remove CMake warning 2015-12-28 22:37:22 +00:00
Qt5ImportPlugin.cpp.in CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00
Qt5PluginTarget.cmake.in CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00