mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +00:00
CMake: Fix building on 32-bit Linux (Core 2 Duo) again.
This commit is contained in:
parent
60cc91e000
commit
fd8613a11e
1 changed files with 4 additions and 3 deletions
|
@ -1265,12 +1265,13 @@ if( CMAKE_COMPILER_IS_GNUCXX )
|
|||
set_source_files_properties( oplsynth/fmopl.cpp PROPERTIES COMPILE_FLAGS "-fno-tree-dominator-opts -fno-tree-fre" )
|
||||
endif()
|
||||
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
|
||||
# Need to enable intrinsics for this file.
|
||||
# Need to enable intrinsics for these files.
|
||||
if( SSE_MATTERS )
|
||||
set_source_files_properties(
|
||||
x86.cpp
|
||||
swrenderer/r_all.cpp
|
||||
gl/system/gl_swframebuffer.cpp
|
||||
polyrenderer/poly_all.cpp
|
||||
swrenderer/r_all.cpp
|
||||
x86.cpp
|
||||
PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue