diff options
Diffstat (limited to 'ports/unittest-cpp')
| -rw-r--r-- | ports/unittest-cpp/CONTROL | 2 | ||||
| -rw-r--r-- | ports/unittest-cpp/portfile.cmake | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/ports/unittest-cpp/CONTROL b/ports/unittest-cpp/CONTROL index e24b8b774..9279cd127 100644 --- a/ports/unittest-cpp/CONTROL +++ b/ports/unittest-cpp/CONTROL @@ -1,3 +1,3 @@ Source: unittest-cpp
-Version: 2.0.0
+Version: 2.0.0-1
Description: A lightweight unit testing framework for C++
diff --git a/ports/unittest-cpp/portfile.cmake b/ports/unittest-cpp/portfile.cmake index 2a31852a9..597444d3b 100644 --- a/ports/unittest-cpp/portfile.cmake +++ b/ports/unittest-cpp/portfile.cmake @@ -1,9 +1,7 @@ -if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- message(STATUS "Warning: Dynamic building not supported by unittest-cpp 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 unittest-cpp/unittest-cpp
|
