mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-07 06:20:40 +00:00
* [lpng] BugFix: Correct some compiler warnings associated with lpng and SSE optimizations. This also enables SSE when available for lpng.
This commit is contained in:
parent
11a7671233
commit
7a78ec46c8
1 changed files with 5 additions and 0 deletions
|
|
@ -29,6 +29,11 @@ project(lpng)
|
|||
set(PNG_ARM_NEON off CACHE STRING "")
|
||||
add_definitions(-DPNG_ARM_NEON_OPT=0)
|
||||
|
||||
# Enables SSE for libpng - also takes care of compiler warnings.
|
||||
# If we don't want SSE, we should set it to off/0.
|
||||
set(PNG_INTEL_SSE on CACHE STRING "")
|
||||
add_definitions(-DPNG_INTEL_SSE_OPT=1)
|
||||
|
||||
addInclude(${libDir}/zlib)
|
||||
|
||||
finishLibrary("${libDir}/${PROJECT_NAME}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue