Log a less scary message if ICU isn't found and ENABLE_ICU=AUTO

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.11.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If ENABLE_ICU=AUTO and find_package(ICU) fails to find ICU installed it gives it logs the following:

      -- The following ICU libraries were not found:
      --   uc (required)
      -- Failed to find all ICU components (missing: ICU_INCLUDE_DIR ICU_LIBRARY _ICU_REQUIRED_LIBS_FOUND) 
      

      But no fatal error occurs because ICU is optional, and is only needed for SASLPrep. The log output suggests something went wrong when it really didn't. Instead, let's suppress this log output and print something like:

      ICU not found, SASLPrep disabled for SCRAM-SHA-256 authentication
      

              Assignee:
              Kevin Albertson
              Reporter:
              Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: