[libpqxx] Fix non-Windows

This commit is contained in:
Robert Schumacher 2018-08-30 23:49:44 -07:00
parent 3d73e3fac3
commit 4eb219c9fd
2 changed files with 6 additions and 4 deletions

View File

@ -1,9 +1,11 @@
cmake_minimum_required(VERSION 3.5)
project(libpqxx VERSION 6.0.0 LANGUAGES CXX)
set(CMAKE_DEBUG_POSTFIX "D")
find_library(LIBPQD libpqd)
find_library(LIBPQ libpq)
set(CMAKE_DEBUG_POSTFIX "d")
set(CMAKE_CXX_STANDARD 14)
find_library(LIBPQD NAMES libpqd pqd)
find_library(LIBPQ NAMES libpq pq)
find_path(LIBPQ_FE_H libpq-fe.h)
find_path(POSTGRES_EXT_H postgres_ext.h)

View File

@ -1,4 +1,4 @@
Source: libpqxx
Version: 6.0.0
Version: 6.0.0-1
Description: The official C++ client API for PostgreSQL
Build-Depends: libpq