mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[libpqxx] Fix non-Windows
This commit is contained in:
parent
3d73e3fac3
commit
4eb219c9fd
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user