From 1f9c88fc221cee35b24da576ec296c7fc5baf5d2 Mon Sep 17 00:00:00 2001 From: dhewg Date: Fri, 6 Jul 2012 00:28:26 +0200 Subject: [PATCH] Correct the cpu type for 64bit msvc --- neo/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neo/CMakeLists.txt b/neo/CMakeLists.txt index 1ec2ac6c..c86cb8f0 100644 --- a/neo/CMakeLists.txt +++ b/neo/CMakeLists.txt @@ -50,6 +50,10 @@ if (cpu STREQUAL "x86_64" AND X86) set(cpu "x86") endif() +if (MSVC AND CMAKE_CL_64) + set(cpu "amd64") +endif() + # target os if (APPLE) set(os "macosx")