Merge topic 'fix-pq-libraries'
58677c32
FindPostgreSQL: Fix initialization of PostgreSQL_LIBRARIES
This commit is contained in:
commit
595cbb493f
|
@ -186,7 +186,7 @@ set(PostgreSQL_FOUND ${POSTGRESQL_FOUND})
|
|||
if(PostgreSQL_FOUND)
|
||||
set(PostgreSQL_INCLUDE_DIRS ${PostgreSQL_INCLUDE_DIR} ${PostgreSQL_TYPE_INCLUDE_DIR} )
|
||||
set(PostgreSQL_LIBRARY_DIRS ${PostgreSQL_LIBRARY_DIR} )
|
||||
set(PostgreSQL_LIBRARIES ${PostgreSQL_LIBRARY_TO_FIND})
|
||||
set(PostgreSQL_LIBRARIES ${PostgreSQL_LIBRARY})
|
||||
endif()
|
||||
|
||||
mark_as_advanced(PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR PostgreSQL_LIBRARY )
|
||||
|
|
Loading…
Reference in New Issue