Skip to content

Commit

Permalink
Remove unnecessary compile flags (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
karjonas committed Aug 3, 2018
1 parent cda25e0 commit 38464c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
6 changes: 1 addition & 5 deletions plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ if(BRAYNS_NETWORKING_ENABLED)
RocketsPlugin/staticjson/staticjson.cpp
)
set_source_files_properties(RocketsPlugin/staticjson/staticjson.cpp
PROPERTIES COMPILE_FLAGS "-Wno-unknown-warning-option -Wno-shadow")
set_source_files_properties(
RocketsPlugin/ImageGenerator.cpp
RocketsPlugin/RocketsPlugin.cpp
PROPERTIES COMPILE_FLAGS "-Wno-unknown-warning-option")
PROPERTIES COMPILE_FLAGS "-Wno-shadow")
list(APPEND BRAYNSPLUGINS_PUBLIC_HEADERS RocketsPlugin/RocketsPlugin.h)
list(APPEND BRAYNSPLUGINS_LINK_LIBRARIES
PRIVATE Rockets braynsParameters braynsTasks ${FREEIMAGE_LIBRARIES})
Expand Down
16 changes: 0 additions & 16 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,6 @@ else()
)
endif()

# Ignore broken warnings given by Rapidjson when using clang
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set_source_files_properties(
addModel.cpp
addModelFromBlob.cpp
brayns.cpp
braynsTestData.cpp
model.cpp
plugin.cpp
renderer.cpp
snapshot.cpp
streamlines.cpp
webAPI.cpp
PROPERTIES COMPILE_FLAGS "-Wno-unknown-warning-option")
endif()

include_directories(${PROJECT_SOURCE_DIR}/plugins/RocketsPlugin)

list(APPEND LCOV_EXCLUDE '${PROJECT_SOURCE_DIR}/brayns/common/utils/base64/*'
Expand Down

0 comments on commit 38464c8

Please sign in to comment.