зеркало из https://github.com/Azure/azure-umqtt-c.git
xcode fix prototype warnings (#158)
* fix void parm functions * add prototypes * add no-strict-prototypes * cutil update * no-strict-prototypes * update MACOSX * update cutil
This commit is contained in:
Родитель
e05cca6cdb
Коммит
0132d4af23
|
@ -41,7 +41,15 @@ set(run_e2e_tests OFF)
|
|||
set(run_unittests OFF)
|
||||
set(skip_samples ON)
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
set(MACOSX TRUE)
|
||||
endif()
|
||||
|
||||
if(NOT ${use_installed_dependencies})
|
||||
if(MACOSX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-strict-prototypes")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-strict-prototypes")
|
||||
endif()
|
||||
if ((NOT TARGET azure_macro_utils_c) AND (EXISTS ${CMAKE_CURRENT_LIST_DIR}/deps/azure-macro-utils-c/CMakeLists.txt))
|
||||
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/deps/azure-macro-utils-c)
|
||||
endif()
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 0e120535898c4b00bb2ec6f3c4c7f59ee5e8ead8
|
||||
Subproject commit 55bb392cd220e6b369336a7bd42e2a2a47507b2b
|
Загрузка…
Ссылка в новой задаче