Revert "cmake: make gbm a required build dependency"

This reverts commit c878a27d.

pushed by accident
Status Job ID Name Coverage
  External
passed continuous-integration/appveyor/branch