diff options
author | Brad King <brad.king@kitware.com> | 2019-07-02 11:32:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-02 11:32:14 (GMT) |
commit | d21b890a4c3d6c6d9a7457906fe8b1629eed41b0 (patch) | |
tree | 1b0dcafc35b5b9d503e81dc1dc24d6f81648ce71 /CMakeCPack.cmake | |
parent | 753373579e3dd8cf19f0fc18f4d9bec43a2d82e8 (diff) | |
download | CMake-d21b890a4c3d6c6d9a7457906fe8b1629eed41b0.zip CMake-d21b890a4c3d6c6d9a7457906fe8b1629eed41b0.tar.gz CMake-d21b890a4c3d6c6d9a7457906fe8b1629eed41b0.tar.bz2 |
FindPostgreSQL: Fix regression in computation of library directory
Since commit 368bcba28a (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
variables.
Fixes: #19444
Diffstat (limited to 'CMakeCPack.cmake')
0 files changed, 0 insertions, 0 deletions