mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
Merge pull request #2737 from jet47:fix-opencv-cmake-config
This commit is contained in:
commit
10f89b9c8b
@ -62,7 +62,7 @@ set(OpenCV_USE_NVCUVID @HAVE_NVCUVID@)
|
||||
# Android API level from which OpenCV has been compiled is remembered
|
||||
if(ANDROID)
|
||||
set(OpenCV_ANDROID_NATIVE_API_LEVEL @OpenCV_ANDROID_NATIVE_API_LEVEL_CONFIGCMAKE@)
|
||||
else
|
||||
else()
|
||||
set(OpenCV_ANDROID_NATIVE_API_LEVEL 0)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user