Revision: 4330
http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4330&view=rev
Author: ossman_
Date: 2011-03-08 13:12:33 +0000 (Tue, 08 Mar 2011)
Log Message:
-----------
Set compiler flags early in case they influence the tests.
Modified Paths:
--------------
trunk/CMakeLists.txt
Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt 2011-03-08 13:08:15 UTC (rev 4329)
+++ trunk/CMakeLists.txt 2011-03-08 13:12:33 UTC (rev 4330)
@@ -73,6 +73,15 @@
add_definitions(-wd4244 -wd4267 -wd4800 -wd4996)
endif()
+# Minimum version is Windows 2000 (5.0)
+if(NOT CMAKE_SIZEOF_VOID_P MATCHES 8)
+ add_definitions(-D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500)
+else()
+ # Win64 doesn't like us requesting a Windows version that didn't have
+ # 64-bit support. Request XP (5.1) instead.
+ add_definitions(-D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501)
+endif()
+
if(CMAKE_SIZEOF_VOID_P MATCHES 8)
message(STATUS "64-bit build")
else()
@@ -141,14 +150,5 @@
add_definitions(-DHAVE_CONFIG_H)
include_directories(${CMAKE_BINARY_DIR})
-# Minimum version is Windows 2000 (5.0)
-if(NOT CMAKE_SIZEOF_VOID_P MATCHES 8)
- add_definitions(-D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500)
-else()
- # Win64 doesn't like us requesting a Windows version that didn't have
- # 64-bit support. Request XP (5.1) instead.
- add_definitions(-D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501)
-endif()
-
add_subdirectory(common)
add_subdirectory(win)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits