title: FindPostgreSQL.cmake won't work on ubuntu
body: <ul>
  <li>Ubuntu 12.04  </li>
  <li>CMake 2.8.9  </li>
  <li>Postgresql 9.2.2</li>
  </ul>
  
  <p>I'm trying to get the <code>FindPostgreSQL</code> module to find <code>/usr/include/postgresql/libpq-fe.h</code>. </p>
  
  <p>Here's what I have in my <code>CMakeLists.txt</code>:</p>
  
  <pre><code>find_package(PostgreSQL REQUIRED)
  </code></pre>
  
  <p>This is the error I get:</p>
  
  <pre><code>CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
    Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found
    version "9.2.2")
  Call Stack (most recent call first):
    /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/cmake-2.8/Modules/FindPostgreSQL.cmake:155 (find_package_handle_standard_args)
    CMakeLists.txt:7 (find_package)
  </code></pre>
  
  <p>I added the following lines before calling <code>find_package</code> but it didn't seem to have any effect.</p>
  
  <pre><code>set(PostgreSQL_ADDITIONAL_VERSIONS "9.2.2")
  set(PostgreSQL_ADDITIONAL_SEARCH_PATHS ${PostgreSQL_ADDITIONAL_SEARCH_PATHS} "/usr/include/postgresql")
  </code></pre>
  
  <p>I also tried googling for <code>PostgreSQL_TYPE_INCLUDE_DIR</code> but didn't find anything. What else can I try?</p>