Cmake check for empty string has been fixed.