优化cmake配置文件, 添加必要头文件 (#2558)

- enable_server cmake选项生效;
- enable_tests 选项在api目录下的test同样生效;
- 增加stdio.h 防止编译失败;
This commit is contained in:
tbago
2023-06-17 10:24:17 +08:00
committed by GitHub
parent 2410419911
commit c0a7a4ab70
5 changed files with 9 additions and 15 deletions

View File

@@ -9,6 +9,7 @@
*/
#include <string.h>
#include <stdio.h>
#include "mk_mediakit.h"
#define LOG_LEV 4