mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
Use lib64 on x86 platform
This commit is contained in:
@@ -28,7 +28,7 @@ FIND_PATH(PGSQL_INCLUDE_DIR libpq-fe.h
|
||||
/usr/postgresql/include
|
||||
)
|
||||
|
||||
SET(PGSQL_NAMES pq libpq)
|
||||
SET(PGSQL_NAMES pq libpq libpg.so.5.7)
|
||||
SET(PGSQL_SEARCH_LIB_PATHS
|
||||
${PGSQL_SEARCH_LIB_PATHS}
|
||||
$ENV{ProgramFiles}/PostgreSQL/*/lib
|
||||
@@ -36,8 +36,11 @@ SET(PGSQL_SEARCH_LIB_PATHS
|
||||
$ENV{SystemDrive}/PostgreSQL/*/lib
|
||||
$ENV{SystemDrive}/PostgreSQL/*/*/lib
|
||||
/usr/local/pgsql/lib
|
||||
/usr/local/pgsql/lib64
|
||||
/usr/local/lib
|
||||
/usr/local/lib64
|
||||
/usr/lib
|
||||
/usr/lib64
|
||||
)
|
||||
FIND_LIBRARY(PGSQL_LIBRARY
|
||||
NAMES ${PGSQL_NAMES}
|
||||
|
||||
Reference in New Issue
Block a user