Skip to content

cmake: Correct gbm version check

Vlad Zahorodnii requested to merge work/zzag/fix-gbm-version-check into master

It appears like gbm_VERSION can be a list, which if() does not like. So pass the variable to the if() rather than its value. While on this, also change GREATER_EQUAL to VERSION_GREATER_EQUAL so cmake compares individual version components.

Merge request reports