mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[cmake] deactivate WITH_SSE and WITH_NEON by default
the SIMDI extensions are hard to reliably detect, so deactivate by default and let the distributor enable them.
This commit is contained in:
@@ -22,23 +22,9 @@ option(WITH_MANPAGES "Generate manpages." ${MANPAGE_DEF})
|
||||
option(WITH_PROFILER "Compile profiler." OFF)
|
||||
option(WITH_GPROF "Compile with GProf profiler." OFF)
|
||||
|
||||
if((TARGET_ARCH MATCHES "x86|x64|e2k") AND (NOT DEFINED WITH_SSE2))
|
||||
option(WITH_SSE2 "Enable SSE2 optimization." ON)
|
||||
else()
|
||||
option(WITH_SSE2 "Enable SSE2 optimization." OFF)
|
||||
endif()
|
||||
|
||||
if(TARGET_ARCH MATCHES "ARM")
|
||||
if (NOT DEFINED WITH_NEON)
|
||||
option(WITH_NEON "Enable NEON optimization." ON)
|
||||
else()
|
||||
option(WITH_NEON "Enable NEON optimization." OFF)
|
||||
endif()
|
||||
else()
|
||||
if(NOT APPLE)
|
||||
option(WITH_IPP "Use Intel Performance Primitives." OFF)
|
||||
endif()
|
||||
endif()
|
||||
option(WITH_SSE2 "Enable SSE2 optimization." OFF)
|
||||
option(WITH_NEON "Enable NEON optimization." OFF)
|
||||
option(WITH_IPP "Use Intel Performance Primitives." OFF)
|
||||
|
||||
option(WITH_JPEG "Use JPEG decoding." OFF)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user