Commit 007c6c5c by Nicolas Capens

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/10008Tested-by: 's avatarNicolas Capens <capn@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent 3a1674d1
...@@ -63,6 +63,8 @@ else() ...@@ -63,6 +63,8 @@ else()
endif() endif()
endif() endif()
set(CMAKE_MACOSX_RPATH ON)
########################################################### ###########################################################
# Convenience macros # Convenience macros
########################################################### ###########################################################
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string></string> <string></string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>com.imgtec.${PRODUCT_NAME:rfc1034identifier}</string> <string>com.imgtec.$\{PRODUCT_NAME:rfc1034identifier\}</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment