diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6ebb541a43e2b4a33cee30c79fa2d125fcc2418f..9928b8fd2924be472701da07e1935af00e4815c8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -127,6 +127,7 @@ if (ENABLE_TRACE) set (common_sources ${common_sources} trace.c) endif() +set_source_files_properties(sio.cc evio.cc replica.cc PROPERTIES COMPILE_FLAGS "-Wno-deprecated") set_source_files_compile_flags(${common_sources}) add_library(core STATIC ${common_sources}) add_dependencies(core generate_headers) diff --git a/src/box/CMakeLists.txt b/src/box/CMakeLists.txt index 468ce92577aa9e0657857e31ec4a050d972d1135..fd2612ecb8430220988c83ae4c6cb6ba6cf36470 100644 --- a/src/box/CMakeLists.txt +++ b/src/box/CMakeLists.txt @@ -33,4 +33,5 @@ tarantool_module("box" box_lua.cc box_lua_space.cc) +set_source_files_properties(box_lua.cc PROPERTIES COMPILE_FLAGS "-Wno-deprecated") target_link_libraries(tarantool_box bitset)