on finding KDE4

Aleix Pol aleixpol at kde.org
Sun Jun 28 00:47:39 CEST 2009


hi,
while looking through the code looking for a bug i ran into this code:

get_target_property(_importedConfigurations
${KDE4_TARGET_PREFIX}kconfig_compiler IMPORTED_CONFIGURATIONS )
list(GET _importedConfigurations 0 _firstConfig)

get_target_property(KDE4_KCFGC_EXECUTABLE
${KDE4_TARGET_PREFIX}kconfig_compiler LOCATION_${firstConfig})
get_target_property(KDE4_MEINPROC_EXECUTABLE
${KDE4_TARGET_PREFIX}meinproc4        LOCATION_${firstConfig})
get_target_property(KDE4_MAKEKDEWIDGETS_EXECUTABLE
${KDE4_TARGET_PREFIX}makekdewidgets   LOCATION_${firstConfig})

Why isn't the property name like that (note the underscore)?
LOCATION_${_firstConfig}

Thanks,
Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-buildsystem/attachments/20090628/68935978/attachment.htm 


More information about the Kde-buildsystem mailing list