mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-18 05:51:45 +02:00
Update CMakeLists.txt
Installed xmr-stak on fresh Ubuntu 16.04 with just AMDGPU-PRO and required these changes and use of OpenCL_ROOT=/opt/amdgpu-pro for successful compilation with OpenCL. Also requires the opencl-headers package from Ubuntu's repository.
This commit is contained in:
@@ -228,6 +228,7 @@ if(OpenCL_ENABLE)
|
||||
ENV AMDAPPSDKROOT
|
||||
ENV ATISTREAMSDKROOT
|
||||
ENV "PROGRAMFILES(X86)"
|
||||
/usr/include
|
||||
PATH_SUFFIXES
|
||||
include
|
||||
OpenCL/common/inc
|
||||
@@ -246,6 +247,7 @@ if(OpenCL_ENABLE)
|
||||
PATH_SUFFIXES
|
||||
"AMD APP/lib/x86_64"
|
||||
lib/x86_64
|
||||
lib/x86_64-linux-gnu
|
||||
lib/x64
|
||||
OpenCL/common/lib/x64)
|
||||
# find package will use the previews searched path variables
|
||||
|
||||
Reference in New Issue
Block a user