Я использую cpm.cmake для установки зависимостей drogon на MAC (Intel)
Postgresql был установлен с использованием
brew install postgresql
Также установлен libpq
brew install liqpq
include(cmake/CPM.cmake)
CPMAddPackage(
NAME drogon
VERSION 1.9.7
GITHUB_REPOSITORY drogonframework/drogon
GIT_TAG v1.9.7
)
При этом дрогон загружается, но при запуске make выдает множество исключений для pgBatchConnection
/build/_deps/drogon-src/orm_lib/src/postgresql_impl/PgBatchConnection.cc:84:7: error: member initializer 'autoBatch_' does not name a non-static data member or base class
build/_deps/drogon-src/orm_lib/src/postgresql_impl/PgBatchConnection.cc:126:17: error: use of undeclared identifier 'sendBatchedSql'
Подробнее здесь: https://stackoverflow.com/questions/790 ... postgresql