Correct the cpu type for 64bit msvc

This commit is contained in:
dhewg 2012-07-06 00:28:26 +02:00 committed by Daniel Gibson
parent f4f8319316
commit f6b6f1df97

View file

@ -50,6 +50,10 @@ if (cpu STREQUAL "x86_64" AND X86)
set(cpu "x86") set(cpu "x86")
endif() endif()
if (MSVC AND CMAKE_CL_64)
set(cpu "amd64")
endif()
# target os # target os
if (APPLE) if (APPLE)
set(os "macosx") set(os "macosx")