diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-08-30 23:49:44 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-09-04 16:25:17 -0700 |
| commit | 4eb219c9fd5a5d2d6414ae3976088bff93101c95 (patch) | |
| tree | 8c86ac4a781c041d39cc37c70b879f7f8c59713a | |
| parent | 3d73e3fac3b883e8c0568fab5c0d49596f38d085 (diff) | |
| download | vcpkg-4eb219c9fd5a5d2d6414ae3976088bff93101c95.tar.gz vcpkg-4eb219c9fd5a5d2d6414ae3976088bff93101c95.zip | |
[libpqxx] Fix non-Windows
| -rw-r--r-- | ports/libpqxx/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | ports/libpqxx/CONTROL | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/ports/libpqxx/CMakeLists.txt b/ports/libpqxx/CMakeLists.txt index c33d8863f..1d0473376 100644 --- a/ports/libpqxx/CMakeLists.txt +++ b/ports/libpqxx/CMakeLists.txt @@ -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) diff --git a/ports/libpqxx/CONTROL b/ports/libpqxx/CONTROL index 8860ddaf9..ce1a688e9 100644 --- a/ports/libpqxx/CONTROL +++ b/ports/libpqxx/CONTROL @@ -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 |
