summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/CMakeLists.txt b/indra/llcommon/CMakeLists.txt
index 4b51790140..45b1bcb932 100644
--- a/indra/llcommon/CMakeLists.txt
+++ b/indra/llcommon/CMakeLists.txt
@@ -299,7 +299,7 @@ else ()
PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation)
set_source_files_properties(llevent.cpp PROPERTIES
COMPILE_FLAGS -Wno-nonnull)
- elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+ elseif (LINUX AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set_source_files_properties(llsys.cpp PROPERTIES
COMPILE_FLAGS -Wno-unused-but-set-variable)
endif()