Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build on Linux when compiled with FORCE_STATIC_LIBS (#46086)
In #44326 the build system changes made POSTGRES_INCLUDE_DIR a PRIVATE include, so this include directory does not get propagated, but then qgis_core fails to build due to transitive include of libpq-fe.h: In file included from ../src/providers/postgres/qgspostgresprovider.h:23, from ../src/core/providers/qgsproviderregistry.cpp:58: ../src/providers/postgres/qgspostgresconn.h:35:10: fatal error: libpq-fe.h: No such file or directory On other platforms such as Mac this does not seem to be an issue, because PostgreSQL include directory is the same as other include directories, but at least on Ubuntu the include directory is /usr/include/postgresql Co-authored-by: Martin Dobias <email@example.com>
- Loading branch information
Showing with 1 addition and 1 deletion.