mirror of
https://github.com/opencv/opencv.git
synced 2025-01-22 17:43:12 +08:00
Merge pull request #14170 from alalek:cmake_hide_helper_modules
This commit is contained in:
commit
1fb8dcb0de
@ -1203,7 +1203,13 @@ status(" 3rdparty dependencies:" ${deps_3rdparty})
|
|||||||
# ========================== OpenCV modules ==========================
|
# ========================== OpenCV modules ==========================
|
||||||
status("")
|
status("")
|
||||||
status(" OpenCV modules:")
|
status(" OpenCV modules:")
|
||||||
string(REPLACE "opencv_" "" OPENCV_MODULES_BUILD_ST "${OPENCV_MODULES_BUILD}")
|
set(OPENCV_MODULES_BUILD_ST "")
|
||||||
|
foreach(the_module ${OPENCV_MODULES_BUILD})
|
||||||
|
if(NOT OPENCV_MODULE_${the_module}_CLASS STREQUAL "INTERNAL" OR the_module STREQUAL "opencv_ts")
|
||||||
|
list(APPEND OPENCV_MODULES_BUILD_ST "${the_module}")
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
string(REPLACE "opencv_" "" OPENCV_MODULES_BUILD_ST "${OPENCV_MODULES_BUILD_ST}")
|
||||||
string(REPLACE "opencv_" "" OPENCV_MODULES_DISABLED_USER_ST "${OPENCV_MODULES_DISABLED_USER}")
|
string(REPLACE "opencv_" "" OPENCV_MODULES_DISABLED_USER_ST "${OPENCV_MODULES_DISABLED_USER}")
|
||||||
string(REPLACE "opencv_" "" OPENCV_MODULES_DISABLED_AUTO_ST "${OPENCV_MODULES_DISABLED_AUTO}")
|
string(REPLACE "opencv_" "" OPENCV_MODULES_DISABLED_AUTO_ST "${OPENCV_MODULES_DISABLED_AUTO}")
|
||||||
string(REPLACE "opencv_" "" OPENCV_MODULES_DISABLED_FORCE_ST "${OPENCV_MODULES_DISABLED_FORCE}")
|
string(REPLACE "opencv_" "" OPENCV_MODULES_DISABLED_FORCE_ST "${OPENCV_MODULES_DISABLED_FORCE}")
|
||||||
|
Loading…
Reference in New Issue
Block a user