Merge pull request #5290 from ilya-lavrenov:cmake_bug

pull/5334/head
Alexander Alekhin 9 years ago
commit 8b33c6fa8f
  1. 2
      cmake/OpenCVModule.cmake

@ -49,6 +49,8 @@ foreach(mod ${OPENCV_MODULES_BUILD} ${OPENCV_MODULES_DISABLED_USER} ${OPENCV_MOD
if(HAVE_${mod}) if(HAVE_${mod})
unset(HAVE_${mod} CACHE) unset(HAVE_${mod} CACHE)
endif() 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}_REQ_DEPS CACHE)
unset(OPENCV_MODULE_${mod}_OPT_DEPS CACHE) unset(OPENCV_MODULE_${mod}_OPT_DEPS CACHE)
unset(OPENCV_MODULE_${mod}_PRIVATE_REQ_DEPS CACHE) unset(OPENCV_MODULE_${mod}_PRIVATE_REQ_DEPS CACHE)

Loading…
Cancel
Save