Skip to content
Snippets Groups Projects
Commit a33bec1e authored by Monty Brandenberg's avatar Monty Brandenberg
Browse files

Build tweak for linux which has the same boost/unused variable

problem as Mac.
parent 88bc5419
No related branches found
No related tags found
No related merge requests found
...@@ -58,11 +58,11 @@ set(llcorehttp_HEADER_FILES ...@@ -58,11 +58,11 @@ set(llcorehttp_HEADER_FILES
set_source_files_properties(${llcorehttp_HEADER_FILES} set_source_files_properties(${llcorehttp_HEADER_FILES}
PROPERTIES HEADER_FILE_ONLY TRUE) PROPERTIES HEADER_FILE_ONLY TRUE)
if (APPLE) if (DARWIN OR LINUX)
# Boost headers define unused members so... # Boost headers define unused members in condition_variable so...
set_source_files_properties(${llcorehttp_SOURCE_FILES} set_source_files_properties(${llcorehttp_SOURCE_FILES}
PROPERTIES COMPILE_FLAGS -Wno-unused-variable) PROPERTIES COMPILE_FLAGS -Wno-unused-variable)
endif (APPLE) endif (DARWIN OR LINUX)
list(APPEND llcorehttp_SOURCE_FILES ${llcorehttp_HEADER_FILES}) list(APPEND llcorehttp_SOURCE_FILES ${llcorehttp_HEADER_FILES})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment