From 170d5201ff97b4110fa9cc2a9a80234de53e12d8 Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Mon, 21 May 2018 14:13:11 -0400
Subject: [PATCH] SL-821: Need -fcxx-modules for C++ module support, vs.
 classic C.

---
 indra/newview/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 3501fdf8007..7638a74bc1b 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1361,7 +1361,7 @@ if (DARWIN)
     llappdelegate-objc.mm
     PROPERTIES
     COMPILE_DEFINITIONS "${VIEWER_CHANNEL_VERSION_DEFINES}"
-    COMPILE_FLAGS "-fmodules"
+    COMPILE_FLAGS "-fmodules -fcxx-modules"
     )
 
   find_library(AGL_LIBRARY AGL)
-- 
GitLab