Merge branch 'cmake_undefined_var' into 'develop'

Undefined variable in cmake

See merge request !562
2 jobs for nightly in 8 minutes and 3 seconds (queued for 1 second)
Status Job ID Name Coverage
  Precheck
passed #9625
fast-build

00:08:03

 
  External
passed cdash:ubuntu-18.04-fast