• Brad King's avatar
    FindPostgreSQL: Fix regression in computation of library directory · d21b890a
    Brad King authored
    Since commit 368bcba2 (FindPostgreSQL: Find debug lib, imported
    configs, 2019-05-09, v3.15.0-rc1~93^2) the `PostgreSQL_LIBRARY` variable
    may contain a list and therefore should not be passed to the
    `get_filename_component` command directly.  Instead spell out the logic
    to compute `PostgreSQL_LIBRARY_DIR` from one of the per-configuration
    Fixes: #19444