From b259fe84ab5797076e56155d9198fc17afc32ba7 Mon Sep 17 00:00:00 2001 From: Kirill Mavreshko Date: Fri, 5 May 2017 18:05:24 +0500 Subject: FindOpenCL: Add missing PATHS keyword The change in commit b888104e44 (FindOpenCL: add AMDAPPSDKROOT into paths for OpenCL library, 2017-05-03) accidentally left out the `PATHS` keyword. Without it properly installed AMD APP SDK (OpenCL) cannot be detected. Tested on Ubuntu 16.04. --- Modules/FindOpenCL.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/FindOpenCL.cmake b/Modules/FindOpenCL.cmake index de78e7e..b8a7d82 100644 --- a/Modules/FindOpenCL.cmake +++ b/Modules/FindOpenCL.cmake @@ -118,6 +118,7 @@ if(WIN32) else() find_library(OpenCL_LIBRARY NAMES OpenCL + PATHS ENV AMDAPPSDKROOT PATH_SUFFIXES lib/x86_64 -- cgit v0.12