I think, it would be great to add a warning message into CMakeDependentOption.cmake.
For example, if CMakeLists.txt defines:
cmake_dependent_option(USE_A "description" ON "USE_B" OFF)
but users pass -DUSE_B=OFF -DUSE_A=ON, the current behavior is to silently force USE_A to be OFF. A warning message will make it more visible to users, like:
CMake Warning at CMakeDependentOption.cmake:XX (message):
Option USE_B was explicitly set to ON, but its dependency condition
"USE_A" is NOT met. Forcing USE_B to OFF.
@Growl1234 warning once as the overridden value is converted to INTERNAL seems reasonable, so long as we also have a way to suppress the warning. Please open an issue to propose the feature and discuss the details, and link it from here.