diff options
| author | Kaung Zaw Htet <kaungzawhtet.mm@gmail.com> | 2020-10-31 03:14:10 +0630 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-30 13:44:10 -0700 |
| commit | d89bfc3bb597b24f18d755fd0dd3f0675512b7f6 (patch) | |
| tree | d5f12ca5b2df9618e1b17ab17cf788fb7a1976e8 /ports/oatpp-libressl | |
| parent | f543049ddd00a1fe1b3d04dcdea26fb57321411f (diff) | |
| download | vcpkg-d89bfc3bb597b24f18d755fd0dd3f0675512b7f6.tar.gz vcpkg-d89bfc3bb597b24f18d755fd0dd3f0675512b7f6.zip | |
[oatpp-sqlite] port added (#14107)
Diffstat (limited to 'ports/oatpp-libressl')
| -rw-r--r-- | ports/oatpp-libressl/CONTROL | 1 | ||||
| -rw-r--r-- | ports/oatpp-libressl/portfile.cmake | 9 |
2 files changed, 2 insertions, 8 deletions
diff --git a/ports/oatpp-libressl/CONTROL b/ports/oatpp-libressl/CONTROL index b9ecc1f56..9fdfada64 100644 --- a/ports/oatpp-libressl/CONTROL +++ b/ports/oatpp-libressl/CONTROL @@ -1,5 +1,6 @@ Source: oatpp-libressl Version: 1.2.0 +Port-Version: 1 Build-Depends: libressl, oatpp Description: Oat++ libressl module providing secure server and client connection providers Homepage: https://github.com/oatpp/oatpp-libressl diff --git a/ports/oatpp-libressl/portfile.cmake b/ports/oatpp-libressl/portfile.cmake index 7575ced10..23f70de88 100644 --- a/ports/oatpp-libressl/portfile.cmake +++ b/ports/oatpp-libressl/portfile.cmake @@ -12,20 +12,13 @@ vcpkg_from_github( PATCHES "libress-submodule-downgrade-required-libressl-version.patch" ) -if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) - set(OATPP_BUILD_SHARED_LIBRARIES_OPTION "ON") -else() - set(OATPP_BUILD_SHARED_LIBRARIES_OPTION "OFF") -endif() - vcpkg_configure_cmake( SOURCE_PATH "${SOURCE_PATH}" PREFER_NINJA OPTIONS "-DOATPP_BUILD_TESTS:BOOL=OFF" "-DCMAKE_CXX_FLAGS=-D_CRT_SECURE_NO_WARNINGS" - "-DLIBRESSL_ROOT_DIR=${CURRENT_INSTALLED_DIR}" - "-DBUILD_SHARED_LIBS:BOOL=${OATPP_BUILD_SHARED_LIBRARIES_OPTION}" + "-DLIBRESSL_ROOT_DIR=${CURRENT_INSTALLED_DIR}" ) vcpkg_install_cmake() |
