From a164244d29e0fb8f421c216589c6a0de7c32189a Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 17 Sep 2023 22:23:29 -0400 Subject: [PATCH] fix linkin postgres due poject name namespace --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8f0d04255..af2eb8bee 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -651,7 +651,7 @@ if(BUILD_CLIENT) target_link_libraries(${PROJECT_NAME}${VERSION_MAJOR} ${CURSES_LIBRARIES}) endif() if (USE_POSTGRESQL) - target_link_libraries(${PROJECT_NAME} ${PostgreSQL_LIBRARIES}) + target_link_libraries(${PROJECT_NAME}${VERSION_MAJOR} ${PostgreSQL_LIBRARIES}) endif() if (USE_LEVELDB) target_link_libraries(${PROJECT_NAME}${VERSION_MAJOR} ${LEVELDB_LIBRARY})