mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 17:13:02 +08:00
[wt] Fix static builds. Enable sqlite3, postgres, and pango backends.
This commit is contained in:
parent
09764bfab7
commit
6259ae99e8
@ -1,4 +1,4 @@
|
||||
Source: wt
|
||||
Version: 3.3.7
|
||||
Version: 3.3.7-1
|
||||
Description: Wt is a C++ library for developing web applications
|
||||
Build-Depends: boost, openssl
|
||||
Build-Depends: boost, openssl, sqlite3, libpq, pango
|
||||
|
@ -13,19 +13,32 @@ vcpkg_apply_patches(
|
||||
PATCHES ${CMAKE_CURRENT_LIST_DIR}/add-disable-boost-autolink-option.patch
|
||||
)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
set(SHARED_LIBS ON)
|
||||
else()
|
||||
set(SHARED_LIBS OFF)
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DSHARED_LIBS=ON
|
||||
-DENABLE_SSL=ON
|
||||
-DSHARED_LIBS=${SHARED_LIBS}
|
||||
-DBOOST_DYNAMIC=ON
|
||||
-DDISABLE_BOOST_AUTOLINK=ON
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DENABLE_POSTGRES=OFF
|
||||
|
||||
-DENABLE_SSL=ON
|
||||
-DENABLE_HARU=OFF
|
||||
-DENABLE_PANGO=ON
|
||||
-DENABLE_SQLITE=ON
|
||||
-DENABLE_POSTGRES=ON
|
||||
-DENABLE_FIREBIRD=OFF
|
||||
-DENABLE_MYSQL=OFF
|
||||
-DENABLE_QT4=OFF
|
||||
-DBOOST_DYNAMIC=ON
|
||||
-DDISABLE_BOOST_AUTOLINK=ON
|
||||
-DENABLE_LIBWTTEST=OFF
|
||||
-DENABLE_OPENGL=ON
|
||||
|
||||
-DUSE_SYSTEM_SQLITE3=ON
|
||||
)
|
||||
vcpkg_install_cmake()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user