summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon')
-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 f42f9cda0f..dc46912714 100644
--- a/indra/llcommon/CMakeLists.txt
+++ b/indra/llcommon/CMakeLists.txt
@@ -295,7 +295,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()