mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 14:45:55 +08:00
fix bug in clang++
This commit is contained in:
parent
4490fe6863
commit
d27f7107e1
@ -76,8 +76,12 @@ add_definitions(-DENABLE_RTMP2RTSP -DENABLE_RTSP2RTMP -DENABLE_HLS)
|
|||||||
|
|
||||||
#引用头文件路径
|
#引用头文件路径
|
||||||
include_directories(${PROJECT_SOURCE_DIR}/src)
|
include_directories(${PROJECT_SOURCE_DIR}/src)
|
||||||
|
|
||||||
#使能c++11
|
#使能c++11
|
||||||
add_compile_options(-std=c++11)
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
add_compile_options(-std=c++11)
|
||||||
|
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
|
||||||
#关闭过期接口警告
|
#关闭过期接口警告
|
||||||
add_compile_options(-Wno-deprecated-declarations)
|
add_compile_options(-Wno-deprecated-declarations)
|
||||||
#关闭__FUNCTION__宏在函数外警告
|
#关闭__FUNCTION__宏在函数外警告
|
||||||
|
Loading…
Reference in New Issue
Block a user