From b41d7adf45fd0070c4148d1035efb44870bebde9 Mon Sep 17 00:00:00 2001 From: Bryan O'Sullivan Date: Mon, 2 Jun 2008 23:42:21 +0000 Subject: Fix Ubuntu compilation problem --- indra/llaudio/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra') diff --git a/indra/llaudio/CMakeLists.txt b/indra/llaudio/CMakeLists.txt index 27e33b8cf3..efe907ca82 100644 --- a/indra/llaudio/CMakeLists.txt +++ b/indra/llaudio/CMakeLists.txt @@ -50,6 +50,11 @@ if (FMOD) audioengine_fmod.h listener_fmod.h ) + + if (LINUX AND ${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 (FMOD) set_source_files_properties(${llaudio_HEADER_FILES} -- cgit v1.2.3