mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
cmake: require at least 3.1 for target_sources()
This commit is contained in:
parent
36588e169d
commit
c46ead5dc7
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user