Only create the Qt5::WinMain target if it doesn't exist yet.
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 11 Jul 2012 12:13:15 +0000 (14:13 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Jul 2012 10:09:42 +0000 (12:09 +0200)
commitcf5d83e56d554afa13f96de921d32b2a4ac009a4
treec85a007adb8816449c0167c3556def6d62547b1e
parent2832aaacd4cbdb86271130dbfca284687d641a85
Only create the Qt5::WinMain target if it doesn't exist yet.

Multiple calls to find_package(Qt5Core) would otherwise attempt to
create multiple targets of the same name.

Change-Id: I5639671fec66d4dd62dcce018dea5d18dcfd3dc3
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
src/corelib/Qt5CoreConfigExtras.cmake.in