mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 19:07:47 +00:00
17 lines
646 B
Diff
17 lines
646 B
Diff
Index: libwebsockets-4.1.4/CMakeLists.txt
|
|
===================================================================
|
|
--- libwebsockets-4.1.4.orig/CMakeLists.txt
|
|
+++ libwebsockets-4.1.4/CMakeLists.txt
|
|
@@ -709,10 +709,10 @@ if ((CMAKE_COMPILER_IS_GNUCC OR CMAKE_CO
|
|
endif()
|
|
endif()
|
|
|
|
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations" )
|
|
if (COMPILER_IS_CLANG)
|
|
|
|
# otherwise osx blows a bunch of openssl deprecated api errors
|
|
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations" )
|
|
if (UNIX AND LWS_HAVE_PTHREAD_H)
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread -Wno-error=unused-command-line-argument" )
|
|
endif()
|