mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Merge pull request #26501 from asmorkalov:as/external_kleidicv
Fixed KLEIDICV_SOURCE_PATH handling for external KleidiCV
This commit is contained in:
commit
7be5181bff
@ -165,6 +165,7 @@ endif(WITH_CLP)
|
|||||||
# --- ARM KleidiCV
|
# --- ARM KleidiCV
|
||||||
if(WITH_KLEIDICV)
|
if(WITH_KLEIDICV)
|
||||||
if(KLEIDICV_SOURCE_PATH AND EXISTS "${KLEIDICV_SOURCE_PATH}/adapters/opencv/CMakeLists.txt")
|
if(KLEIDICV_SOURCE_PATH AND EXISTS "${KLEIDICV_SOURCE_PATH}/adapters/opencv/CMakeLists.txt")
|
||||||
|
message(STATUS "Use external KleidiCV ${KLEIDICV_SOURCE_PATH}")
|
||||||
set(HAVE_KLEIDICV ON)
|
set(HAVE_KLEIDICV ON)
|
||||||
endif()
|
endif()
|
||||||
if(NOT HAVE_KLEIDICV)
|
if(NOT HAVE_KLEIDICV)
|
||||||
@ -173,7 +174,5 @@ if(WITH_KLEIDICV)
|
|||||||
if(KLEIDICV_SOURCE_PATH)
|
if(KLEIDICV_SOURCE_PATH)
|
||||||
set(HAVE_KLEIDICV ON)
|
set(HAVE_KLEIDICV ON)
|
||||||
endif()
|
endif()
|
||||||
else()
|
|
||||||
set(HAVE_KLEIDICV OFF)
|
|
||||||
endif()
|
endif()
|
||||||
endif(WITH_KLEIDICV)
|
endif(WITH_KLEIDICV)
|
||||||
|
Loading…
Reference in New Issue
Block a user