cmake: require at least 3.1 for target_sources()

This commit is contained in:
Azat Khuzhin 2016-03-10 01:07:54 +03:00
parent 36588e169d
commit c46ead5dc7

View File

@ -18,7 +18,7 @@
# cmake -G "Visual Studio 10" .. # cmake -G "Visual Studio 10" ..
# start libevent.sln # 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) if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release set(CMAKE_BUILD_TYPE Release