From: Ralf Habacker Date: Tue, 15 Jan 2013 09:09:25 +0000 (+0100) Subject: Fixed cmake warning related to WIN32 macro when configuring on cygwin X-Git-Tag: dbus-1.7.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a600899d43b9d92d348fc6cfd44846a1d6f96d7;p=thirdparty%2Fdbus.git 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 --- diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 52a48fdc2..51aa4f4a4 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