Templates for frameworks CMake files
Stephen Kelly
steveire at gmail.com
Wed Sep 25 20:16:25 UTC 2013
Stephen Kelly wrote:
>>> Simplify by putting NO_MODULE before REQUIRED and removing COMPONENTS:
>>>
>>>find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Widgets)
>>
>> Done.
>
> Are you sure? The reviewboard shows otherwise.
>
Ah, I was wrong here. I was looking at the KF5 line.
Simplify
find_package(KF5 5.0.0 REQUIRED MODULE COMPONENTS CMake Compiler
InstallDirs)
to
find_package(KF5 5.0.0 MODULE REQUIRED CMake Compiler InstallDirs)
Thanks,
Steve.
More information about the Kde-frameworks-devel
mailing list