mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:23:41 +08:00
957d2024b8
* Update Ubuntu to 20.04. * [tfhe] Disable -Wall -Werror * [sophus] Disable -Werror. * Fix typo in deployment of CUDA. * Add libxxf86vm-dev for opensubdiv. * [opensubdiv] Fix OpenCL search on Ubuntu 20.04, and document libxxf86vm-dev dependency * [msgpack11] Disable -Werror. * [qtwayland, qt5wayland] Add system library notice. * Add python-is-python3 to unbreak tensorflow, v8, and others * [graphqlparser] Remove directive rejected by Bison 3.5.1 * [ogdf] Mark as failing in ci.baseline.txt. Issue filed https://github.com/microsoft/vcpkg/issues/18936 * [bde] Mark failing in ci.baseline.txt, issue filed https://github.com/microsoft/vcpkg/issues/18937 * [soem] Patch out -Werror * Update pool.
14 lines
504 B
Diff
14 lines
504 B
Diff
diff --git a/cmake/FindOpenCL.cmake b/cmake/FindOpenCL.cmake
|
|
index 485e55e..1c98b91 100644
|
|
--- a/cmake/FindOpenCL.cmake
|
|
+++ b/cmake/FindOpenCL.cmake
|
|
@@ -177,7 +177,7 @@ if(_OPENCL_CPP_INCLUDE_DIRS)
|
|
|
|
if(EXISTS "${OPENCL_INCLUDE_DIRS}/CL/cl.h")
|
|
|
|
- file(STRINGS "${OPENCL_INCLUDE_DIRS}/CL/cl.h" LINES REGEX "^#define CL_VERSION_.*$")
|
|
+ file(STRINGS "${OPENCL_INCLUDE_DIRS}/CL/cl.h" LINES REGEX "^#define CL_VERSION_[0-9]+_[0-9]+.*$")
|
|
|
|
foreach(LINE ${LINES})
|
|
|