Clean up the 64-bit handling a bit. Trust CMake to tell use when we have a
64-bit target, and we don't actually use the WIN64 variable anywhere.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4317 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e855c40..9c692b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,13 +60,7 @@
   add_definitions(-wd4244 -wd4267 -wd4800 -wd4996)
 endif()
 
-# Detect whether compiler is 64-bit
-if((MSVC AND CMAKE_CL_64) OR (CMAKE_SIZEOF_VOID_P MATCHES 8))
-  set(64BIT 1)
-  set(WIN64 1)
-endif()
-
-if(64BIT)
+if(CMAKE_CL_64)
   message(STATUS "64-bit build")
 else()
   message(STATUS "32-bit build")