[cmake] Check if jscLib and WebKitGUID targets exist before using them
authorannulen@yandex.ru <annulen@yandex.ru@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Oct 2016 19:14:55 +0000 (19:14 +0000)
committerannulen@yandex.ru <annulen@yandex.ru@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Oct 2016 19:14:55 +0000 (19:14 +0000)
commitc0d30ac8a0ff1dd357f2b34b77c6838182a05adb
tree9a16c03ea1bcfed000e3afd5ee8776d0f188f501
parentf327e1f8253c42aaac3d047ffa05123fa00dc90c
[cmake] Check if jscLib and WebKitGUID targets exist before using them
https://bugs.webkit.org/show_bug.cgi?id=163945

Reviewed by Alex Christensen.

Currently these targets are used under WIN32 condition, however they
are defined in PlatformWin.cmake, causing CMake warnings if port
supports WIN32 but does not use PlatformWin.cmake

Source/JavaScriptCore:

* shell/CMakeLists.txt:

Source/WebKit:

* CMakeLists.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@207831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/shell/CMakeLists.txt
Source/WebKit/CMakeLists.txt
Source/WebKit/ChangeLog