Cannot detect 64 bit compiler with VS2013 (Version 3.7.1)
# CMakeLists.txt
cmake_minimum_required(VERSION 3.7 FATAL_ERROR)
if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8 )
message( FATAL_ERROR "Only 64-bit builds are supported" )
endif()
Running cmake -G"Visual Studio 12 2013 Win64"
with this CMakeLists.txt on CMake 3.7.1 results in the fatal_error being hit.
Running with CMake 3.5 and 3.6.2, it is correctly detected.