From 60ef27ad2317ad73c7d37e2f120551630354fc0c Mon Sep 17 00:00:00 2001
From: Bryan O'Sullivan <bos@lindenlab.com>
Date: Tue, 3 Jun 2008 00:15:30 +0000
Subject: Build fix

---
 indra/llaudio/CMakeLists.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'indra')

diff --git a/indra/llaudio/CMakeLists.txt b/indra/llaudio/CMakeLists.txt
index efe907ca82..1d51145d6e 100644
--- a/indra/llaudio/CMakeLists.txt
+++ b/indra/llaudio/CMakeLists.txt
@@ -51,10 +51,12 @@ if (FMOD)
          listener_fmod.h
          )
 
-    if (LINUX AND ${GXX_VERSION} MATCHES "4.[23]")
+    if (LINUX)
+      if (${GXX_VERSION} MATCHES "4.[23]")
         set_source_files_properties(audioengine_fmod.cpp
                                     COMPILE_FLAGS -Wno-error=write-strings)
-    endif (LINUX AND ${GXX_VERSION} MATCHES "4.[23]")
+      endif (${GXX_VERSION} MATCHES "4.[23]")
+    endif (LINUX)
 endif (FMOD)
 
 set_source_files_properties(${llaudio_HEADER_FILES}
-- 
cgit v1.2.3