mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
- Do not allow the TC_USE_SSE2 option on 64 bit targets.
This commit is contained in:
parent
7b28c224f0
commit
c1f0335bb4
1 changed files with 2 additions and 2 deletions
|
@ -266,7 +266,7 @@ if (NOT ZDOOM_USE_SSE2)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE OR MSVC )
|
||||
if( NOT X64 )
|
||||
option( TC_USE_SSE2 "Use SSE2 instructions for software truecolor, requires P4 or later CPU." ON )
|
||||
endif()
|
||||
|
||||
|
@ -424,7 +424,7 @@ if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
|
|||
|
||||
endif()
|
||||
|
||||
if ( NOT TC_USE_SSE2 )
|
||||
if ( NOT TC_USE_SSE2 AND NOT X64 )
|
||||
add_definitions( -DNO_SSE )
|
||||
if ( MSVC )
|
||||
set (CMAKE_CXX_FLAGS "/arch:IA32 /Oi- ${CMAKE_CXX_FLAGS}")
|
||||
|
|
Loading…
Reference in a new issue