Normalize icon path names (fixes #869).
commitd2b684d4a3e11bd3b00b6a0a4abd5698419dadb0
authorThomas Moschny <thomas.moschny@gmx.de>
Mon, 21 Feb 2011 16:58:04 +0000 (21 17:58 +0100)
committerUli Schlachter <psychon@znc.in>
Mon, 21 Feb 2011 17:07:42 +0000 (21 18:07 +0100)
tree4e8d9d405a545c29a57f1ca7b9bddc9fd76f9baa
parentb87fc48230ea462db435cbd8e0c4882361b745ee
Normalize icon path names (fixes #869).

The elements in ${icon_sources}, as returned by file(GLOB ...) contain
double slashes, could be a bug in cmake. This causes building with
cmake 2.8.4 to fail, due to dependency problems lateron.

This patch works around the issue by normalizing all path names in
${icon_sources} while appending them to ${ALL_ICONS}, thereby removing
the double slashes.

Signed-off-by: Uli Schlachter <psychon@znc.in>
CMakeLists.txt