title: PostgreSQL libpq windows 10 CMake missing PostgreSQL_LIBRARY
body: <p>I'm rying to setup a CMake project under windows 10 using PostgreSQL.</p>
  
  <p>When I try to <code>find_package</code></p>
  
  <pre><code>find_package(PostgreSQL REQUIRED)
  </code></pre>
  
  <p>I get the following error</p>
  
  <pre><code>  Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY) (found version
    "10.4")
  Call Stack (most recent call first):
    C:/Program Files/CMake/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
    C:/Program Files/CMake/share/cmake-3.8/Modules/FindPostgreSQL.cmake:175 (find_package_handle_standard_args)
    server/CMakeLists.txt:13 (find_package)
  </code></pre>
  
  <p>It seems like it has found "10.4" version but it's missing the <code>PostgreSQL_LIBRARY</code>.</p>
  
  <p>How can I fix that?</p>