[cmake-developers] [PATCH] Fix FindOpenCL on Mac OS

2016-08-01 Thread jerry . c . t
Hi, I tried the FindOpenCL.cmake with the imported target OpenCL::OpenCL and found out that it does not work on MacOS. The first problem is that it does not detect the version. In line 56 the path needs to be changed from ${OpenCL_INCLUDE_DIR}/OpenCL/cl.h" to “${OpenCL_INCLUDE_DIR}/Headers/cl.

Re: [cmake-developers] Strange behaviour with check_library_exists on Windows

2016-08-01 Thread Sergei Nikulov
2016-07-28 17:10 GMT+03:00 Sergei Nikulov : > 2016-07-28 16:58 GMT+03:00 Sergei Nikulov : >> 2016-07-28 15:03 GMT+03:00 Ben Boeckel : >>> On Thu, Jul 28, 2016 at 13:33:35 +0300, Sergei Nikulov wrote: -- Looking for CertFreeCertificateContext in crypt32; -- Looking for CertFreeCertificateC

Re: [cmake-developers] [PATCH] Fix FindOpenCL on Mac OS

2016-08-01 Thread Matthäus G . Chajdas
Hi Jerry, thanks for giving it a spin :) I don't have a Mac to test myself - as your changes are confined to macOS, they look safe to me. The version is not listed as a required variable, so that's why it passes through. If you pass in a version into your find_package call, it should bail out if

Re: [cmake-developers] [PATCH] Fix FindOpenCL on Mac OS

2016-08-01 Thread jerry . c . t
Hi, > The version is not listed as a required variable, so that's why it > passes through. If you pass in a version into your find_package call, it > should bail out if no version is specified. Sadly not. The current version in master does not fail when invoked with "find_package(OpenCL 1.2 REQUI

[cmake-developers] Problem with openCV with CUDA installation using CMAKE on PASCAL Architecture

2016-08-01 Thread 마수드
Hello First of all I apologize for the quality of my English as I am not a native speaker. It is not actually my first time facing this problem and I am really tired of searching for it on blogs this time. I have had a graphic card with MAXWEll architecture (listed in CUDA enabled cards on IN