CMake: Difference between OpenCL_LIBRARY vs OPENCL_LIBRARY
That is not a typo. CMake-GUI somehow ends up with two different versions of OpenCL options, differing only in case:
Upper case versions of these already existed in early configurations:
OPENCL_INCLUDE_DIR (this is set to .../opencv/3rdparty/include/opencl/1.2)
OPENCL_LIBRARY (this is blank)
After enabling some options for BUILD_TYPE, and building/installing docs and samples, these are created:
OpenCL_INCLUDE_DIR OpenCL_INCLUDE_DIR-NOTFOUND
OpenCL_LIBRARY OpenCL_LIBRARY-NOTFOUND
The options that cause creation of the latter two are:
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX /opt/...
BUILD_EXAMPLES [x]
BUILD_DOCS [x]
INSTALL_C_EXAMPLES [x]
INSTALL_PYTHON_EXAMPLES [x]
INSTALL_TESTS [x]
Quite a few new X11_... options are also created by setting those variables. It's not clear which of those options creates the new variables. Is there any way to track this down?