Lines 398-403
Link Here
|
398 |
endforeach () |
398 |
endforeach () |
399 |
set(LINPHONE_PRIVATE_HEADER_FILES ${LINPHONE_PRIVATE_HEADER_FILES} PARENT_SCOPE) |
399 |
set(LINPHONE_PRIVATE_HEADER_FILES ${LINPHONE_PRIVATE_HEADER_FILES} PARENT_SCOPE) |
400 |
|
400 |
|
|
|
401 |
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 9.2) |
402 |
list(APPEND STRICT_OPTIONS_CXX "-Wno-stringop-overflow -Wno-deprecated-copy -Wno-deprecated-declarations") |
403 |
endif() |
401 |
if (ANDROID AND CMAKE_C_COMPILER_ID STREQUAL "GNU") |
404 |
if (ANDROID AND CMAKE_C_COMPILER_ID STREQUAL "GNU") |
402 |
list(APPEND STRICT_OPTIONS_CXX "-Wno-attributes") |
405 |
list(APPEND STRICT_OPTIONS_CXX "-Wno-attributes") |
403 |
endif() |
406 |
endif() |
404 |
-- a/linphone-sdk/linphone/coreapi/CMakeLists.txt |
407 |
++ b/linphone-sdk/linphone/coreapi/CMakeLists.txt |
Lines 96-102
Link Here
|
96 |
conference.cc |
96 |
conference.cc |
97 |
tester_utils.cpp |
97 |
tester_utils.cpp |
98 |
) |
98 |
) |
99 |
|
99 |
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 9.2) |
|
|
100 |
list(APPEND STRICT_OPTIONS_CXX "-Wno-deprecated-declarations -Wno-error=unused-but-set-variable") |
101 |
endif() |
100 |
if(ENABLE_JAVA_WRAPPER) |
102 |
if(ENABLE_JAVA_WRAPPER) |
101 |
list(APPEND LINPHONE_SOURCE_FILES_CXX ${LINPHONE_JNI_SOURCES}) |
103 |
list(APPEND LINPHONE_SOURCE_FILES_CXX ${LINPHONE_JNI_SOURCES}) |
102 |
set_source_files_properties(${LINPHONE_JNI_SOURCES} PROPERTIES GENERATED TRUE) |
104 |
set_source_files_properties(${LINPHONE_JNI_SOURCES} PROPERTIES GENERATED TRUE) |
103 |
-- a/linphone-sdk/linphone/console/CMakeLists.txt |
105 |
++ b/linphone-sdk/linphone/console/CMakeLists.txt |
Lines 28-34
Link Here
|
28 |
set(LINPHONECSH_SOURCE_FILES |
28 |
set(LINPHONECSH_SOURCE_FILES |
29 |
shell.c |
29 |
shell.c |
30 |
) |
30 |
) |
31 |
|
31 |
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 9.2) |
|
|
32 |
list(APPEND STRICT_OPTIONS_CXX "-Wno-deprecated-declarations -Wno-error=unused-but-set-variable") |
33 |
endif() |
32 |
bc_apply_compile_flags(LINPHONEC_SOURCE_FILES STRICT_OPTIONS_CPP STRICT_OPTIONS_C) |
34 |
bc_apply_compile_flags(LINPHONEC_SOURCE_FILES STRICT_OPTIONS_CPP STRICT_OPTIONS_C) |
33 |
if(MSVC) |
35 |
if(MSVC) |
34 |
get_source_file_property(COMMANDS_C_COMPILE_FLAGS commands.c COMPILE_FLAGS) |
36 |
get_source_file_property(COMMANDS_C_COMPILE_FLAGS commands.c COMPILE_FLAGS) |