aboutsummaryrefslogtreecommitdiff
path: root/ports/oatpp-websocket
diff options
context:
space:
mode:
authorKaung Zaw Htet <kaungzawhtet.mm@gmail.com>2020-10-31 03:14:10 +0630
committerGitHub <noreply@github.com>2020-10-30 13:44:10 -0700
commitd89bfc3bb597b24f18d755fd0dd3f0675512b7f6 (patch)
treed5f12ca5b2df9618e1b17ab17cf788fb7a1976e8 /ports/oatpp-websocket
parentf543049ddd00a1fe1b3d04dcdea26fb57321411f (diff)
downloadvcpkg-d89bfc3bb597b24f18d755fd0dd3f0675512b7f6.tar.gz
vcpkg-d89bfc3bb597b24f18d755fd0dd3f0675512b7f6.zip
[oatpp-sqlite] port added (#14107)
Diffstat (limited to 'ports/oatpp-websocket')
-rw-r--r--ports/oatpp-websocket/CONTROL1
-rw-r--r--ports/oatpp-websocket/portfile.cmake9
2 files changed, 2 insertions, 8 deletions
diff --git a/ports/oatpp-websocket/CONTROL b/ports/oatpp-websocket/CONTROL
index 7d915ed0b..ca110b0ec 100644
--- a/ports/oatpp-websocket/CONTROL
+++ b/ports/oatpp-websocket/CONTROL
@@ -1,5 +1,6 @@
Source: oatpp-websocket
Version: 1.2.0
+Port-Version: 1
Description: Oat++ websocket module
Build-Depends: oatpp
Homepage: https://github.com/oatpp/oatpp-websocket
diff --git a/ports/oatpp-websocket/portfile.cmake b/ports/oatpp-websocket/portfile.cmake
index 4c3496147..7485d9cf5 100644
--- a/ports/oatpp-websocket/portfile.cmake
+++ b/ports/oatpp-websocket/portfile.cmake
@@ -10,18 +10,11 @@ vcpkg_from_github(
HEAD_REF master
)
-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"
- "-DBUILD_SHARED_LIBS:BOOL=${OATPP_BUILD_SHARED_LIBRARIES_OPTION}"
+ "-DOATPP_BUILD_TESTS:BOOL=OFF"
)
vcpkg_install_cmake()