fix bug in clang++

This commit is contained in:
xiongziliang 2017-05-03 00:05:30 +08:00
parent 4490fe6863
commit d27f7107e1

View File

@ -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__