mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
Fixed: #1297 CMake - improper detection architecture under linux (patch provided by Naush)
This commit is contained in:
parent
1a70f0647d
commit
5b4c5204c7
1 changed files with 2 additions and 2 deletions
|
@ -335,7 +335,7 @@ MACRO(NL_SETUP_BUILD)
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
|
|
||||||
# Determine target CPU
|
# Determine target CPU
|
||||||
IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86")
|
# IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86")
|
||||||
IF(NOT CMAKE_SIZEOF_VOID_P)
|
IF(NOT CMAKE_SIZEOF_VOID_P)
|
||||||
INCLUDE (CheckTypeSize)
|
INCLUDE (CheckTypeSize)
|
||||||
CHECK_TYPE_SIZE("void*" CMAKE_SIZEOF_VOID_P)
|
CHECK_TYPE_SIZE("void*" CMAKE_SIZEOF_VOID_P)
|
||||||
|
@ -352,7 +352,7 @@ MACRO(NL_SETUP_BUILD)
|
||||||
ADD_DEFINITIONS(-DHAVE_X86)
|
ADD_DEFINITIONS(-DHAVE_X86)
|
||||||
ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||||
# ADD_DEFINITIONS(-DHAVE_IA64)
|
# ADD_DEFINITIONS(-DHAVE_IA64)
|
||||||
ENDIF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86")
|
# ENDIF(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86")
|
||||||
|
|
||||||
ENDMACRO(NL_SETUP_BUILD)
|
ENDMACRO(NL_SETUP_BUILD)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue