aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/opencl/CONTROL5
-rw-r--r--ports/opencl/portfile.cmake17
2 files changed, 3 insertions, 19 deletions
diff --git a/ports/opencl/CONTROL b/ports/opencl/CONTROL
index e554fe5ee..edbe7c80c 100644
--- a/ports/opencl/CONTROL
+++ b/ports/opencl/CONTROL
@@ -1,8 +1,5 @@
Source: opencl
Version: 2.2
-Port-Version: 4
+Port-Version: 5
Homepage: https://github.com/KhronosGroup/OpenCL-Headers
Description: C/C++ headers and ICD loader (Installable Client Driver) for OpenCL
-
-Feature: wdk
-Description: Windows Driver Kit support
diff --git a/ports/opencl/portfile.cmake b/ports/opencl/portfile.cmake
index dc1ea069c..b0f09f4f9 100644
--- a/ports/opencl/portfile.cmake
+++ b/ports/opencl/portfile.cmake
@@ -1,12 +1,3 @@
-if("wdk" IN_LIST FEATURES)
- if(NOT VCPKG_TARGET_IS_WINDOWS)
- message(FATAL_ERROR "Windows Driver Kit support is only available builds targeting Windows")
- endif()
- set(WITH_WDK ON)
-else()
- set(WITH_WDK OFF)
-endif()
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/OpenCL-Headers
@@ -15,11 +6,7 @@ vcpkg_from_github(
HEAD_REF master
)
-file(INSTALL
- "${SOURCE_PATH}/CL"
- DESTINATION
- ${CURRENT_PACKAGES_DIR}/include
-)
+file(INSTALL "${SOURCE_PATH}/CL" DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# OpenCL C++ headers
vcpkg_from_github(
@@ -67,7 +54,7 @@ vcpkg_configure_cmake(
PREFER_NINJA
OPTIONS
-DOPENCL_ICD_LOADER_HEADERS_DIR=${CURRENT_PACKAGES_DIR}/include
- -DOPENCL_ICD_LOADER_REQUIRE_WDK=${WITH_WDK}
+ -DOPENCL_ICD_LOADER_REQUIRE_WDK=OFF
-DUSE_DYNAMIC_VCXX_RUNTIME=${USE_DYNAMIC_VCXX_RUNTIME}
)