summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/CMakeLists.txt
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-04-25 14:43:31 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-04-25 14:43:31 -0400
commita33bec1e5ef5e399f41267f06dc6d355dd34efe6 (patch)
treeb896b57aa227898e2a6a6192a0bd6c82396e0225 /indra/llcorehttp/CMakeLists.txt
parent88bc54192fa274bb1617801e4aeddbbf4e9e7944 (diff)
Build tweak for linux which has the same boost/unused variable
problem as Mac.
Diffstat (limited to 'indra/llcorehttp/CMakeLists.txt')
-rw-r--r--indra/llcorehttp/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcorehttp/CMakeLists.txt b/indra/llcorehttp/CMakeLists.txt
index b3f2d8234c..e0d1817781 100644
--- a/indra/llcorehttp/CMakeLists.txt
+++ b/indra/llcorehttp/CMakeLists.txt
@@ -58,11 +58,11 @@ set(llcorehttp_HEADER_FILES
set_source_files_properties(${llcorehttp_HEADER_FILES}
PROPERTIES HEADER_FILE_ONLY TRUE)
-if (APPLE)
- # Boost headers define unused members so...
+if (DARWIN OR LINUX)
+ # Boost headers define unused members in condition_variable so...
set_source_files_properties(${llcorehttp_SOURCE_FILES}
PROPERTIES COMPILE_FLAGS -Wno-unused-variable)
-endif (APPLE)
+endif (DARWIN OR LINUX)
list(APPEND llcorehttp_SOURCE_FILES ${llcorehttp_HEADER_FILES})