cmake HAVE_SOURCE_LOCATION examples

bareos/bareos core/cmake/BareosCheckFunctions.cmake :99

check_cxx_source_compiles(
  "
#include <source_location>
int main() {
 std::source_location l{};
 return 0;
}
"
  HAVE_SOURCE_LOCATION
)