Setting include directories or compile definitions on a target created with add_custom_target does not make sense.
This fixes a regression introduced in commit 290e92ad (Move GetIncludeDirectories to cmGeneratorTarget, 2012-09-16) which loops over cmGeneratorTargets before they get created, so the container is empty.
290e92ad