Browse Source

RGA is not going to be available for Apple platforms.

Signed-off-by: lawsonamzn <[email protected]>
lawsonamzn 2 years ago
parent
commit
5a272f34a1
1 changed files with 13 additions and 0 deletions
  1. 13 0
      cmake/3rdParty/FetchRGA.cmake

+ 13 - 0
cmake/3rdParty/FetchRGA.cmake

@@ -1,6 +1,19 @@
+#
+# Copyright (c) Contributors to the Open 3D Engine Project.
+# For complete copyright and license terms please see the LICENSE at the root of this distribution.
+#
+# SPDX-License-Identifier: Apache-2.0 OR MIT
+#
+#
+
+if (APPLE)
+    return()  # RGA is not applicable to APPLE host platforms.
+endif()
+
 # This script encapsulates fetching RGA as a dependency and providing the
 # This script encapsulates fetching RGA as a dependency and providing the
 # requested targets. To use it, simply include this script from the CMakeLists.txt
 # requested targets. To use it, simply include this script from the CMakeLists.txt
 # file of the target platform.
 # file of the target platform.
+
 include(FetchContent)
 include(FetchContent)
 
 
 # note that this won't stop it from trying each time, but will stop it from doing anything multiple times in the same
 # note that this won't stop it from trying each time, but will stop it from doing anything multiple times in the same