summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2018-05-21 13:54:39 -0400
committerNat Goodspeed <nat@lindenlab.com>2018-05-21 13:54:39 -0400
commit6f878571ec65d15f9e06af39375cc0251e4d1e2d (patch)
tree830e6e846b00a3fe1e591aa35c2e5ebda316130d
parent3a885e9cb7bb86e82036b217e2aaf2d96106be43 (diff)
SL-821: Add -fmodules to llappdelegate-objc.mm compile switches.
The BugsplatMac package is built as a module requiring @import. Using @import requires Objective-C++ module support, which requires the -fmodules switch.
-rw-r--r--indra/newview/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index d28791485c..3501fdf800 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1361,6 +1361,7 @@ if (DARWIN)
llappdelegate-objc.mm
PROPERTIES
COMPILE_DEFINITIONS "${VIEWER_CHANNEL_VERSION_DEFINES}"
+ COMPILE_FLAGS "-fmodules"
)
find_library(AGL_LIBRARY AGL)