Merge pull request #1794 from vrabaud:2.4

This commit is contained in:
Roman Donchenko 2013-11-14 16:43:50 +04:00 committed by OpenCV Buildbot
commit 01f8645bc8

View File

@ -41,7 +41,9 @@ if(ANDROID)
string(REPLACE - _ modules_file_suffix "_${ANDROID_NDK_ABI_NAME}")
endif()
include(${CMAKE_CURRENT_LIST_DIR}/OpenCVModules${modules_file_suffix}.cmake)
if(NOT TARGET opencv_core)
include(${CMAKE_CURRENT_LIST_DIR}/OpenCVModules${modules_file_suffix}.cmake)
endif()
# TODO All things below should be reviewed. What is about of moving this code into related modules (special vars/hooks/files)