Commit 79248ab7 by Antonio Maiorano

Fix CMake failure on MacOS when PowerVR submodule is checked out

For now, warn the user that we don't support building PowerVR examples against SwiftShader on MacOS. We may eventually add support, see b/161976310. Bug: b/155827755 Bug: b/161976310 Change-Id: I52216664567f1c18f59dc302dd720128ed28fe7d Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/46988Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
parent 4d23b485
...@@ -732,6 +732,12 @@ endif() ...@@ -732,6 +732,12 @@ endif()
# Sample programs and tests # Sample programs and tests
########################################################### ###########################################################
# TODO(b/161976310): Add support for building PowerVR on MacOS
if(APPLE AND HAVE_PVR_SUBMODULE AND SWIFTSHADER_BUILD_PVR)
message(WARNING "Building PowerVR examples for SwiftShader is not yet supported on Apple platforms.")
set(SWIFTSHADER_BUILD_PVR FALSE)
endif()
if(HAVE_PVR_SUBMODULE AND SWIFTSHADER_BUILD_PVR) if(HAVE_PVR_SUBMODULE AND SWIFTSHADER_BUILD_PVR)
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)
set(PVR_WINDOW_SYSTEM XCB) set(PVR_WINDOW_SYSTEM XCB)
......
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