[CMake] Making it easier for downstreams to use my library
Michael Wild
themiwi at gmail.com
Fri Apr 9 14:37:59 EDT 2010
On 9. Apr, 2010, at 20:20 , Alexander Neundorf wrote:
>> [...]
>>
>> which will create IMPORTED targets with the same names as in the Grantlee
>> project. So you can then set the variables
>>
>> set(Grantlee_CORE_LIBRARIES grantlee_core ${QT_QTCORE_LIBRARIES})
>> set(Grantlee_GUI_LIBRARIES grantlee_gui ${QT_QTGUI_LIBRARIES})
>
> I think this is not necessary at all when using the exported library targets,
> all the dependencies should be there already.
Oops, yes, that's right, otherwise this feature wouldn't be so great after all ;-)
Michael
More information about the CMake
mailing list