From c46ead5dc77c168ebabd9f33d9cc41fae9dbe7f0 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Thu, 10 Mar 2016 01:07:54 +0300 Subject: [PATCH] cmake: require at least 3.1 for target_sources() --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b6ae2ca..a62f12bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ # cmake -G "Visual Studio 10" .. # start libevent.sln # -cmake_minimum_required(VERSION 2.8.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.1 FATAL_ERROR) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release -- 2.40.0