mirror of https://github.com/opencv/opencv.git
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.
9 lines
459 B
9 lines
459 B
if((CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") |
|
AND NOT CMAKE_CROSSCOMPILING |
|
AND NOT CMAKE_TOOLCHAIN_FILE) |
|
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") # Maybe use AARCH64 variable? |
|
include(${CMAKE_CURRENT_LIST_DIR}/../../platforms/linux/flags-aarch64.cmake) |
|
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "riscv64") |
|
include(${CMAKE_CURRENT_LIST_DIR}/../../platforms/linux/flags-riscv64.cmake) |
|
endif() |
|
endif()
|
|
|