mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -06:00
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:
committed by
Brad King
parent
b888104e44
commit
b259fe84ab
@@ -118,6 +118,7 @@ if(WIN32)
|
||||
else()
|
||||
find_library(OpenCL_LIBRARY
|
||||
NAMES OpenCL
|
||||
PATHS
|
||||
ENV AMDAPPSDKROOT
|
||||
PATH_SUFFIXES
|
||||
lib/x86_64
|
||||
|
||||
Reference in New Issue
Block a user