From 65eaa95bf88cc3f8f963c626a626034da0fbea6f Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 20 May 2011 21:32:31 +0200 Subject: [PATCH] Fixed: #1297 CMake - improper detection architecture under linux (patch provided by Naush) --- code/CMakeModules/nel.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index f20febe4d..20364b1ef 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -335,7 +335,7 @@ MACRO(NL_SETUP_BUILD) ENDIF(WIN32) # Determine target CPU - IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86") +# IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86") IF(NOT CMAKE_SIZEOF_VOID_P) INCLUDE (CheckTypeSize) CHECK_TYPE_SIZE("void*" CMAKE_SIZEOF_VOID_P) @@ -352,7 +352,7 @@ MACRO(NL_SETUP_BUILD) ADD_DEFINITIONS(-DHAVE_X86) ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 8) # ADD_DEFINITIONS(-DHAVE_IA64) - ENDIF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86") +# ENDIF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86") ENDMACRO(NL_SETUP_BUILD)