mirror of
https://github.com/ceph/ceph
synced 2025-01-04 10:12:30 +00:00
cmake/rgw: src/rgw and src/rgw/services are not system headers
include these with -I instead of -isystem so we don't hide their compiler warnings Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
13a37c7f73
commit
56510a1471
@ -220,7 +220,7 @@ target_link_libraries(rgw_common
|
||||
PUBLIC
|
||||
spawn)
|
||||
target_include_directories(rgw_common
|
||||
SYSTEM PUBLIC "services"
|
||||
PUBLIC "services"
|
||||
PUBLIC "${CMAKE_SOURCE_DIR}/src/rgw"
|
||||
PRIVATE "${LUA_INCLUDE_DIR}")
|
||||
if(WITH_RADOSGW_KAFKA_ENDPOINT)
|
||||
@ -310,7 +310,7 @@ add_library(rgw_a STATIC
|
||||
target_compile_definitions(rgw_a PUBLIC "-DCLS_CLIENT_HIDE_IOCTX")
|
||||
target_include_directories(rgw_a PUBLIC "${CMAKE_SOURCE_DIR}/src/dmclock/support/src")
|
||||
target_include_directories(rgw_a SYSTEM PUBLIC "../rapidjson/include")
|
||||
target_include_directories(rgw_a SYSTEM PUBLIC "${CMAKE_SOURCE_DIR}/src/rgw")
|
||||
target_include_directories(rgw_a PUBLIC "${CMAKE_SOURCE_DIR}/src/rgw")
|
||||
|
||||
if(WITH_RADOSGW_AMQP_ENDPOINT)
|
||||
find_package(RabbitMQ REQUIRED)
|
||||
|
Loading…
Reference in New Issue
Block a user