mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
riscv: Clearly separate the build flow for autotools and cmake
Signed-off-by: Cosmin Truta <ctruta@gmail.com>
This commit is contained in:
parent
be81ebe1a4
commit
21895b05ab
@ -361,6 +361,7 @@ if(PNG_HARDWARE_OPTIMIZATIONS)
|
||||
add_definitions(-DPNG_RISCV_RVV_OPT=2)
|
||||
elseif(PNG_RISCV_RVV STREQUAL "check")
|
||||
add_definitions(-DPNG_RISCV_RVV_CHECK_SUPPORTED)
|
||||
add_definitions(-DPNG_RISCV_RVV_OPT=1)
|
||||
endif()
|
||||
else()
|
||||
add_definitions(-DPNG_RISCV_RVV_OPT=0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user