How to combine all dlls from subproject into one dll?

Do you mean that I need to set(BUILD_opencv_world ON) in my CMakeLists.txt? Why it is "opencv"_word? Should I modify it as my project name? For example set(BUILD_helloworld_world ON). Can CMake recognize the BUILD_helloworld_world variable?