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.
This commit is contained in:
Kirill Mavreshko
2017-05-05 18:05:24 +05:00
committed by Brad King
parent b888104e44
commit b259fe84ab

View File

@@ -118,6 +118,7 @@ if(WIN32)
else()
find_library(OpenCL_LIBRARY
NAMES OpenCL
PATHS
ENV AMDAPPSDKROOT
PATH_SUFFIXES
lib/x86_64