From 7a9a63c812f6f92010cd7f5cbc0a30dc156620f8 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Wed, 21 Mar 2018 16:01:41 +0800 Subject: [PATCH] update --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a58498b..d37e0eb2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ project(ZLMediaKit) -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.1.3) #使能c++11 -add_compile_options(-std=c++11) +set(CMAKE_CXX_STANDARD 11) #加载自定义模块 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake")