forked from mirrors/linphone-iphone
in tester, add -std=c99 to fix build on centos7
This commit is contained in:
parent
954a1a9cd5
commit
32a4832621
1 changed files with 1 additions and 0 deletions
|
|
@ -314,6 +314,7 @@ if (NOT ANDROID AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
|||
endif()
|
||||
set_target_properties(liblinphone_tester PROPERTIES LINK_FLAGS "${LINPHONE_LDFLAGS}")
|
||||
set_target_properties(liblinphone_tester PROPERTIES LINKER_LANGUAGE CXX)
|
||||
set_target_properties(liblinphone_tester PROPERTIES C_STANDARD 99)
|
||||
target_include_directories(liblinphone_tester PUBLIC ${BCTOOLBOX_TESTER_INCLUDE_DIRS})
|
||||
target_link_libraries(liblinphone_tester ${LINPHONE_LIBS_FOR_TOOLS} ${OTHER_LIBS_FOR_TESTER})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue