mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 10:37:10 +01:00
[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>
This commit is contained in:
parent
01e3b301d1
commit
f075c6b1ee
@ -34,7 +34,9 @@ file(GLOB SRCS "${PROJECT_SOURCE_DIR}/src/*.cxx")
|
|||||||
if(BUILD_SHARED_LIBS)
|
if(BUILD_SHARED_LIBS)
|
||||||
set(TARGET libpqxx)
|
set(TARGET libpqxx)
|
||||||
set(SHARED_DEFINITION -DPQXX_SHARED)
|
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()
|
else()
|
||||||
set(TARGET libpqxx_static)
|
set(TARGET libpqxx_static)
|
||||||
set(SHARED_DEFINITION "")
|
set(SHARED_DEFINITION "")
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Source: libpqxx
|
Source: libpqxx
|
||||||
Version: 6.4.5-2
|
Version: 6.4.5-3
|
||||||
Homepage: https://github.com/jtv/libpqxx
|
Homepage: https://github.com/jtv/libpqxx
|
||||||
Description: The official C++ client API for PostgreSQL
|
Description: The official C++ client API for PostgreSQL
|
||||||
Build-Depends: libpq[core]
|
Build-Depends: libpq[core]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user