Open Source Computer Vision Library https://opencv.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
400 B

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR riscv64)
set(GNU_MACHINE riscv64-unknown-linux-gnu CACHE STRING "GNU compiler triple")
include("${CMAKE_CURRENT_LIST_DIR}/flags-riscv64.cmake")
if(COMMAND ocv_set_platform_flags)
ocv_set_platform_flags(CMAKE_CXX_FLAGS_INIT)
ocv_set_platform_flags(CMAKE_C_FLAGS_INIT)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/riscv-gnu.toolchain.cmake")