aboutsummaryrefslogtreecommitdiff
path: root/ports/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'ports/benchmark')
-rw-r--r--ports/benchmark/CONTROL2
-rw-r--r--ports/benchmark/portfile.cmake7
2 files changed, 3 insertions, 6 deletions
diff --git a/ports/benchmark/CONTROL b/ports/benchmark/CONTROL
index ffdb53881..13f42ca0b 100644
--- a/ports/benchmark/CONTROL
+++ b/ports/benchmark/CONTROL
@@ -1,3 +1,3 @@
Source: benchmark
-Version: 1.4.1
+Version: 1.4.1-1
Description: A library to support the benchmarking of functions, similar to unit-tests.
diff --git a/ports/benchmark/portfile.cmake b/ports/benchmark/portfile.cmake
index 4528caa3b..b27149966 100644
--- a/ports/benchmark/portfile.cmake
+++ b/ports/benchmark/portfile.cmake
@@ -2,13 +2,10 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
message(FATAL_ERROR "${PORT} does not currently support UWP")
endif()
-if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
- message(STATUS "Warning: Dynamic building not supported yet. Building static.")
- set(VCPKG_LIBRARY_LINKAGE static)
-endif()
-
include(vcpkg_common_functions)
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/benchmark