summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2014-10-09 16:03:56 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2014-10-09 16:03:56 +0000
commit078df04bfda35c426573d2438af0394666f15bef (patch)
treed6fc154b4afe35cde65d5b7cbe1d3708fd9182c6 /CMakeLists.txt
parent3e4af3cd8c7d4e09f6074f475727e0cbeb297462 (diff)
CMake: Prevent annoying warning under Cygwin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9a919fe1a..71bd61a0c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@
# Main CMakeLists.txt to build the FLTK project using CMake (www.cmake.org)
# Written by Michael Surette
#
-# Copyright 1998-2010 by Bill Spitzak and others.
+# Copyright 1998-2014 by Bill Spitzak and others.
#
# This library is free software. Distribution and use rights are outlined in
# the file "COPYING" which should have been included with this file. If this
@@ -17,6 +17,10 @@
# http://www.fltk.org/str.php
#
+# Prevent annoying warning under Cygwin; this must be before project().
+# Remove when CMake >= 2.8.4 is required
+set(CMAKE_LEGACY_CYGWIN_WIN32 0)
+
project(FLTK)
cmake_minimum_required(VERSION 2.6)