diff --git a/indra/llaudio/CMakeLists.txt b/indra/llaudio/CMakeLists.txt index efe907ca8297153959bec0f73df2ebefbbb51ddc..1d51145d6e8cfff87cf57a8ff9c38429bb3f03a2 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}