fix linkin postgres due poject name namespace

stable-4.X-namespace
mckaygerhard 2023-09-17 22:23:29 -04:00
parent 0375e89047
commit a164244d29
1 changed files with 1 additions and 1 deletions

View File

@ -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})