Commit 0beb39a4 authored by xantares's avatar xantares

Revert "fix use of CMAKE_SYSTEM_PROCESSOR"

This reverts commit e5baf1e0.
parent e5baf1e0
...@@ -368,18 +368,14 @@ if(MINGW) ...@@ -368,18 +368,14 @@ if(MINGW)
"<CMAKE_RC_COMPILER> <FLAGS> --target=${rc_target} <DEFINES> -i <SOURCE> -o <OBJECT>") "<CMAKE_RC_COMPILER> <FLAGS> --target=${rc_target} <DEFINES> -i <SOURCE> -o <OBJECT>")
endmacro() endmacro()
if (NOT CMAKE_SYSTEM_PROCESSOR ) if( ${CMAKE_SYSTEM_PROCESSOR} MATCHES "i386"
set (CMAKE_SYSTEM_PROCESSOR ${CMAKE_HOST_SYSTEM_PROCESSOR} ) OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "i486"
endif () OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "i586"
OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "i686"
if( CMAKE_SYSTEM_PROCESSOR MATCHES "i386"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "i486"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "i586"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "i686"
# This also happens on x86_64 systems...what a worthless variable # This also happens on x86_64 systems...what a worthless variable
OR CMAKE_SYSTEM_PROCESSOR MATCHES "x86" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "amd64") OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "amd64")
if(CMAKE_SIZEOF_VOID_P EQUAL 8) if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set_rc_arch("pe-x86-64") set_rc_arch("pe-x86-64")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment