OSDN Git Service

Fix CMake build for Mac OS X.
authorNicolas Capens <capn@google.com>
Fri, 9 Jun 2017 15:21:48 +0000 (11:21 -0400)
committerNicolas Capens <capn@google.com>
Mon, 12 Jun 2017 14:44:58 +0000 (14:44 +0000)
commit007c6c5ccbc6cfb452ac3cc1f7c8365419e59f09
treeb6cea60eb6f27db3477f2ec9a1421f8f0a905390
parent3a1674d1b2e5f18a44d40cdb0c85c686d067c2d8
Fix CMake build for Mac OS X.

Recent versions of CMake omit adding Info.plist to the application
bundle due to an error attempting to parse a symbolic reference as a
CMake one. It is fixed by adding escape characters.
Also set CMAKE_MACOSX_RPATH to silence a warning.

Bug b/62380447

Change-Id: I6464fce7e3d4812d872343806138e44c269dd2da
Reviewed-on: https://swiftshader-review.googlesource.com/10008
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
CMakeLists.txt
third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/Build/OSX/Info.plist