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
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")
-if(64BIT)
+if(CMAKE_CL_64)
set(INST_NAME ${CMAKE_PROJECT_NAME}64-${VERSION})
set(INST_DEFS -DWIN64)
else()