fix for corrent modules dependencies
authorIlya Lavrenov <ilya.lavrenov@itseez.com>
Wed, 2 Sep 2015 15:15:05 +0000 (18:15 +0300)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Thu, 17 Sep 2015 10:45:08 +0000 (13:45 +0300)
(cherry picked from commit 1c3d83df54d2f39c9403126bf3c1374eaf749dee)

cmake/OpenCVModule.cmake

index ec834d9..cae2a39 100644 (file)
@@ -49,6 +49,8 @@ foreach(mod ${OPENCV_MODULES_BUILD} ${OPENCV_MODULES_DISABLED_USER} ${OPENCV_MOD
   if(HAVE_${mod})
     unset(HAVE_${mod} CACHE)
   endif()
+  unset(OPENCV_MODULE_${mod}_DEPS CACHE)
+  unset(OPENCV_MODULE_${mod}_DEPS_EXT CACHE)
   unset(OPENCV_MODULE_${mod}_REQ_DEPS CACHE)
   unset(OPENCV_MODULE_${mod}_OPT_DEPS CACHE)
   unset(OPENCV_MODULE_${mod}_PRIVATE_REQ_DEPS CACHE)