Skip to content

cmake: Correct gbm version check

Vlad Zahorodnii requested to merge work/cherry-pick-70d76791 into Plasma/5.27

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.

(cherry picked from commit 70d76791)

Merge request reports