From 3a600899d43b9d92d348fc6cfd44846a1d6f96d7 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 15 Jan 2013 10:09:25 +0100 Subject: [PATCH] Fixed cmake warning related to WIN32 macro when configuring on cygwin Bug: https://bugs.freedesktop.org/show_bug.cgi?id=59401 Reviewed-by: Simon McVittie --- cmake/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 52a48fd..51aa4f4 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -1,3 +1,6 @@ +# we do not need to have WIN32 defined +set(CMAKE_LEGACY_CYGWIN_WIN32 0) + project(dbus) # we need to be up to date -- 2.7.4