$NetBSD: patch-CMakeLists.txt,v 1.2 2016/03/23 10:04:49 markd Exp $ Build with recent cmake --- CMakeLists.txt.orig 2015-12-22 17:31:21.000000000 +0000 +++ CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required(VERSION 2.8.9) project(kmplayer) cmake_policy(VERSION 2.6) @@ -57,6 +58,7 @@ if(NOT WIN32) endif(NOT WIN32) +include(CheckIncludeFiles) check_include_files(stdint.h HAVE_STDINT_H)