summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2013-01-15 10:09:25 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2013-01-15 13:33:03 +0100
commit3a600899d43b9d92d348fc6cfd44846a1d6f96d7 (patch)
treefa97517a8346e3ee8d3dc6fa12a590387464905c /cmake
parentfccb9560b39d3108a06e985fe8f208d50bf2def5 (diff)
downloaddbus-3a600899d43b9d92d348fc6cfd44846a1d6f96d7.tar.gz
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 <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 52a48fdc..51aa4f4a 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