aboutsummaryrefslogtreecommitdiff
path: root/ports/dlib
diff options
context:
space:
mode:
Diffstat (limited to 'ports/dlib')
-rw-r--r--ports/dlib/CONTROL16
-rw-r--r--ports/dlib/portfile.cmake5
2 files changed, 9 insertions, 12 deletions
diff --git a/ports/dlib/CONTROL b/ports/dlib/CONTROL
index ab2e80e87..1de246923 100644
--- a/ports/dlib/CONTROL
+++ b/ports/dlib/CONTROL
@@ -1,8 +1,8 @@
-Source: dlib
-Version: 19.16-1
-Build-Depends: libjpeg-turbo, libpng, sqlite3, fftw3, openblas, clapack
-Description: Modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++
-
-Feature: cuda
-Build-Depends: cuda
-Description: CUDA support for dlib
+Source: dlib
+Version: 19.16-2
+Build-Depends: libjpeg-turbo, libpng, sqlite3, fftw3, openblas, clapack
+Description: Modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++
+
+Feature: cuda
+Build-Depends: cuda
+Description: CUDA support for dlib
diff --git a/ports/dlib/portfile.cmake b/ports/dlib/portfile.cmake
index ebfd00766..730c27257 100644
--- a/ports/dlib/portfile.cmake
+++ b/ports/dlib/portfile.cmake
@@ -1,9 +1,6 @@
include(vcpkg_common_functions)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
- message("dlib only supports static linkage")
- set(VCPKG_LIBRARY_LINKAGE "static")
-endif()
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH