fltk/fltk-1.3.3-cmake35.patch

15 lines
527 B
Diff
Raw Permalink Normal View History

diff -urN fltk-1.3.3-orig/CMakeLists.txt fltk-1.3.3-patched/CMakeLists.txt
--- fltk-1.3.3-orig/CMakeLists.txt 2014-10-10 03:03:56.000000000 +1100
+++ fltk-1.3.3-patched/CMakeLists.txt 2016-08-26 16:25:43.256631466 +1000
@@ -24,6 +24,10 @@
project(FLTK)
cmake_minimum_required(VERSION 2.6)
+if(POLICY CMP0053)
+ cmake_policy(SET CMP0053 NEW)
+endif()
+
#######################################################################
# define some macros
#######################################################################