aboutsummaryrefslogtreecommitdiff
path: root/ports/libepoxy
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libepoxy')
-rw-r--r--ports/libepoxy/CONTROL6
-rw-r--r--ports/libepoxy/portfile.cmake12
2 files changed, 8 insertions, 10 deletions
diff --git a/ports/libepoxy/CONTROL b/ports/libepoxy/CONTROL
index 79ffdbf46..819813e91 100644
--- a/ports/libepoxy/CONTROL
+++ b/ports/libepoxy/CONTROL
@@ -1,3 +1,3 @@
-Source: libepoxy
-Version: 1.4.3-1
-Description: Epoxy is a library for handling OpenGL function pointer management for you
+Source: libepoxy
+Version: 1.4.3-2
+Description: Epoxy is a library for handling OpenGL function pointer management for you
diff --git a/ports/libepoxy/portfile.cmake b/ports/libepoxy/portfile.cmake
index e50754db3..12c4742b6 100644
--- a/ports/libepoxy/portfile.cmake
+++ b/ports/libepoxy/portfile.cmake
@@ -1,9 +1,7 @@
-if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
- message(STATUS "Warning: Static building not supported yet. Building dynamic.")
- set(VCPKG_LIBRARY_LINKAGE dynamic)
-endif()
-
include(vcpkg_common_functions)
+
+vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO anholt/libepoxy
@@ -12,8 +10,8 @@ vcpkg_from_github(
HEAD_REF master)
vcpkg_configure_meson(SOURCE_PATH ${SOURCE_PATH}
- OPTIONS
- -Denable-glx=no
+ OPTIONS
+ -Denable-glx=no
-Denable-egl=no)
vcpkg_install_meson()
vcpkg_copy_pdbs()