-
- Downloads
FindPostgreSQL.cmake: Add PATH_SUFFIX for searching.
This slightly changes lookup order: Namely, the system-folder "/usr/include/postgresql" is now preferred over "/usr/include/" even if both container libpq-fe.h. This finds the correct path on a standard Gentoo installation, where "/usr/include/postgresql" is a symlink to the folder with all include-files for the user-selected postgresql-version, while "/usr/include/libpq-fe.h" is a single symlink provided for backwards-compatibility. Since ROOT uses also e.g. "pg_config.h", selecting "/usr/include/" over "/usr/include/postgresql" leads to failure on Gentoo.
Please register or sign in to comment