mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-02 15:05:12 +08:00
cmake: Minor fixes for cmake compilation
This commit is contained in:
@ -7,6 +7,7 @@ set(COMPONENT_SRCS "src/httpd_main.c"
|
||||
"src/httpd_uri.c"
|
||||
"src/util/ctrl_sock.c")
|
||||
|
||||
set(COMPONENT_PRIV_REQUIRES lwip http_parser)
|
||||
set(COMPONENT_PRIV_REQUIRES lwip)
|
||||
set(COMPONENT_REQUIRES http_parser)
|
||||
|
||||
register_component()
|
||||
|
@ -106,3 +106,8 @@ set_source_files_properties(
|
||||
${SRC}/crypto_shorthash/siphash24/ref/shorthash_siphash24_ref.c
|
||||
PROPERTIES COMPILE_FLAGS
|
||||
-Wno-implicit-fallthrough)
|
||||
|
||||
set_source_files_properties(
|
||||
${SRC}/randombytes/randombytes.c
|
||||
PROPERTIES COMPILE_FLAGS
|
||||
-DRANDOMBYTES_DEFAULT_IMPLEMENTATION)
|
||||
|
Reference in New Issue
Block a user