vcpkg/ports/libftdi1/cmake-version.diff

20 lines
546 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5aecafc..4158267 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,5 @@
# Project
+cmake_minimum_required(VERSION 3.5)
project(libftdi1 C)
set(MAJOR_VERSION 1)
set(MINOR_VERSION 5)
@@ -11,8 +12,6 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
if("${CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE RelWithDebInfo)
endif("${CMAKE_BUILD_TYPE}" STREQUAL "")
-set(CMAKE_COLOR_MAKEFILE ON)
-cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
add_definitions(-Wall)