Skip to content

Commit

Permalink
Allow arch string of amd64 (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
mesflores authored and gonsie committed Apr 7, 2019
1 parent 02bc8b4 commit 6cb9316
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL ppc64le)
SET(CLOCK ppc64le)
ENDIF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL ppc64le)

IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64)
IF((${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64) OR (${CMAKE_SYSTEM_PROCESSOR} STREQUAL amd64))
SET(VALID_ARCH YES)
SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}")
ADD_DEFINITIONS(-D_GNU_SOURCE)
SET(CLOCK amd64)
ENDIF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64)
ENDIF((${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64) OR (${CMAKE_SYSTEM_PROCESSOR} STREQUAL amd64))

IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL aarch64)
SET(VALID_ARCH YES)
Expand Down

0 comments on commit 6cb9316

Please sign in to comment.