aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindPostgreSql.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindPostgreSql.cmake')
-rw-r--r--cmake/FindPostgreSql.cmake20
1 files changed, 10 insertions, 10 deletions
diff --git a/cmake/FindPostgreSql.cmake b/cmake/FindPostgreSql.cmake
index 74833e87fbf..3d06ad87f97 100644
--- a/cmake/FindPostgreSql.cmake
+++ b/cmake/FindPostgreSql.cmake
@@ -30,16 +30,16 @@ MACRO(FIND_PostgreSQL)
)
find_library(POSTGRESQL_LIBRARIES NAMES pq libpq
- PATHS
- /usr/lib
- /usr/local/lib
- /usr/lib/postgresql
- /usr/lib64
- /usr/local/lib64
- /usr/lib64/postgresql
- $ENV{ProgramFiles}/PostgreSQL/*/lib/ms
- $ENV{SystemDrive}/PostgreSQL/*/lib/ms
- )
+ PATHS
+ /usr/lib
+ /usr/local/lib
+ /usr/lib/postgresql
+ /usr/lib64
+ /usr/local/lib64
+ /usr/lib64/postgresql
+ $ENV{ProgramFiles}/PostgreSQL/*/lib/ms
+ $ENV{SystemDrive}/PostgreSQL/*/lib/ms
+ )
if(POSTGRESQL_INCLUDE_DIR AND POSTGRESQL_LIBRARIES)
set(POSTGRESQL_FOUND TRUE)