diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ed12f4ea869cd7f3941555fdccaae639483eb47e..7bbcc01d5945097236ac86b6242522f4aa472ccd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -133,6 +133,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)