1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Added RISC-V RVV diagnostics for PNG.

This commit is contained in:
Alexander Smorkalov
2025-12-02 10:40:01 +03:00
parent 54d066b89c
commit 2c8cfdebde
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ endif()
if(PNG_TARGET_ARCHITECTURE MATCHES "^(riscv)")
include(CheckCCompilerFlag)
set(PNG_RISCV_RVV_POSSIBLE_VALUES on off)
set(PNG_RISCV_RVV "off"
set(PNG_RISCV_RVV "on"
CACHE STRING "Enable RISC-V Vector optimizations: on|off; off is default")
set_property(CACHE PNG_RISCV_RVV
PROPERTY STRINGS ${PNG_RISCV_RVV_POSSIBLE_VALUES})