LuaDist/libpq — Issue #1: Install is missing libpq/libpq-fs.h and pg_config_manual.h header files
Author: luislavena
Created: 2012-01-29 14:49:55+00:00
State: open

Hello,

Thank you for creating this CMake variant of postgres' libpq

I've found that this to be used in a wider scenario (beyond lua), is missing `libpq/libpq-fs.h` and `pg_config_manual.h` headers from installation.

I've tried adding those to `CMakeList.txt`:

```diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 22c0b11..67fe0d7 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -99,5 +99,7 @@ install_header (
src/interfaces/libpq/libpq-events.h
src/interfaces/libpq/libpq-int.h
src/interfaces/libpq/pqexpbuffer.h
+ src/include/libpq/libpq-fs.h
src/include/postgres_ext.h
+ src/include/pg_config_manual.h
)
```

The problem is `libpq/libpq-fs.h` that needs to maintain the `libpq` directory (they will look for `libpq/libpq-fs.h`) but install_header just flatten it out.

Is there a chance to get those changes in?

Thank you.