Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CMake] Require
asimage=ON
in case of opengl=ON
The opengl flag enables the graf3d features that depend on OpenGL, and these features also depend on asimage. Therefore, the configuration should fail if `asimage` is OFF and `opengl` is ON. An alternative would have been to automatically enable `asimage` then, but `asimage=ON` is already the default. So if it's actually off, it's probably set to OFF by the user with some intention, and we better raise awareness about this inconsistency with a configuration error. Closes #16250.
- Loading branch information