Bläddra i källkod

RGA is not going to be available for Apple platforms.

Signed-off-by: lawsonamzn <[email protected]>
lawsonamzn 2 år sedan
förälder
incheckning
5a272f34a1
1 ändrade filer med 13 tillägg och 0 borttagningar
  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
 # requested targets. To use it, simply include this script from the CMakeLists.txt
 # file of the target platform.
+
 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