Skip to content
Snippets Groups Projects
Commit edcd4d9a authored by bigbes's avatar bigbes
Browse files

Merge branch 'stable'

parents 339e2112 2db39ea1
No related branches found
No related tags found
Loading
......@@ -85,6 +85,10 @@ foreach (root ${PostgreSQL_KNOWN_ROOTS} )
endforeach()
endforeach()
foreach (version ${PostgreSQL_KNOWN_VERSIONS} )
list(APPEND PostgreSQL_ROOT_DIRECTORIES "/usr/pgsql-${version}" )
endforeach()
#
# Look for an installation.
#
......
......@@ -2,6 +2,7 @@ find_optional_package(PostgreSQL)
if (PostgreSQL_FOUND)
include_directories(${PostgreSQL_INCLUDE_DIRS})
link_directories(${PostgreSQL_LIBRARY_DIRS})
add_library(pg SHARED pg.cc)
target_link_libraries(pg ${PostgreSQL_LIBRARIES} -rdynamic)
set_target_properties(pg PROPERTIES PREFIX "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment