diff options
| author | alexander-smyslov <37107500+alexander-smyslov@users.noreply.github.com> | 2020-05-21 20:31:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-21 11:31:00 -0700 |
| commit | f075c6b1ee0fd618fb79ba783f9f36530c04d90c (patch) | |
| tree | 9d711e1e1aeb7b085f01030facac2d36423136cb | |
| parent | 01e3b301d1cf0748b70fb137897fc9a0745e66b4 (diff) | |
| download | vcpkg-f075c6b1ee0fd618fb79ba783f9f36530c04d90c.tar.gz vcpkg-f075c6b1ee0fd618fb79ba783f9f36530c04d90c.zip | |
[libpqxx] linux support (#11442)
* Add files via upload
* [new port] avro-cpp
* add boost-format
* remove comments
* remove comments
* [libpqxx] linux support
* fix
* fix
* update version
* correct the indentation
* Update ports/libpqxx/CMakeLists.txt
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Alexander Smyslov <aleksandr.smyslov@libertexgroup.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
| -rw-r--r-- | ports/libpqxx/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | ports/libpqxx/CONTROL | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ports/libpqxx/CMakeLists.txt b/ports/libpqxx/CMakeLists.txt index a3e6ae3f4..00575c4af 100644 --- a/ports/libpqxx/CMakeLists.txt +++ b/ports/libpqxx/CMakeLists.txt @@ -34,7 +34,9 @@ file(GLOB SRCS "${PROJECT_SOURCE_DIR}/src/*.cxx") if(BUILD_SHARED_LIBS) set(TARGET libpqxx) set(SHARED_DEFINITION -DPQXX_SHARED) - list(APPEND SRCS "${PROJECT_SOURCE_DIR}/win32/libpqxx.cxx") + if(MSVC) + list(APPEND SRCS "${PROJECT_SOURCE_DIR}/win32/libpqxx.cxx") + endif() else() set(TARGET libpqxx_static) set(SHARED_DEFINITION "") diff --git a/ports/libpqxx/CONTROL b/ports/libpqxx/CONTROL index 9acdf8146..f118a488b 100644 --- a/ports/libpqxx/CONTROL +++ b/ports/libpqxx/CONTROL @@ -1,5 +1,5 @@ Source: libpqxx -Version: 6.4.5-2 +Version: 6.4.5-3 Homepage: https://github.com/jtv/libpqxx Description: The official C++ client API for PostgreSQL Build-Depends: libpq[core] |
