From 9302b3b8bf03e9cb399676f86542e261c103be98 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 16 Dec 2016 19:09:17 +0100 Subject: [PATCH] Fix 64 bit building --- tools/drawergen/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/drawergen/CMakeLists.txt b/tools/drawergen/CMakeLists.txt index 12e004e28..6a5804e8a 100644 --- a/tools/drawergen/CMakeLists.txt +++ b/tools/drawergen/CMakeLists.txt @@ -7,6 +7,10 @@ include(../../precompiled_headers.cmake) # Path where it looks for the LLVM compiled files on Windows set( LLVM_PRECOMPILED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../llvm" ) +if( CMAKE_SIZEOF_VOID_P MATCHES "8" ) + set( X64 64 ) +endif() + if( NOT DRAWERGEN_LIBS ) set( DRAWERGEN_LIBS "" ) endif()