Revision: 4312
http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4312&view=rev
Author: ossman_
Date: 2011-03-03 09:25:56 +0000 (Thu, 03 Mar 2011)
Log Message:
-----------
We're trying to use CMake for every arch, so make sure the Windows specific
flag is conditional. Also remove the -DWINDOWS as it is unnecessary (zlib
checks WIN32 as well in all relevant cases).
Modified Paths:
--------------
trunk/common/zlib/CMakeLists.txt
Modified: trunk/common/zlib/CMakeLists.txt
===================================================================
--- trunk/common/zlib/CMakeLists.txt 2011-03-02 15:41:22 UTC (rev 4311)
+++ trunk/common/zlib/CMakeLists.txt 2011-03-03 09:25:56 UTC (rev 4312)
@@ -1,4 +1,8 @@
-add_definitions(-DNO_VIZ -DWINDOWS)
+# It seems like gcc for Win32 doesn't support the visibility attribute,
+# so disable it to make it stop complaining.
+if(WIN32)
+ add_definitions(-DNO_VIZ)
+endif()
add_library(zlib STATIC
adler32.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits