File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/protonect/cmake_modules Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ ELSE (APPLE)
3131 # The AMD SDK currently installs both x86 and x86_64 libraries
3232 # This is only a hack to find out architecture
3333 IF ( ${CMAKE_SIZEOF_VOID_P} EQUAL 8 )
34- FIND_LIBRARY (OPENCL_LIBRARIES OpenCL.lib PATHS "$ENV{ATISTREAMSDKROOT} " "$ENV{AMDAPPSDKROOT} " PATH_SUFFIXES "/lib/x86_64" )
34+ FIND_LIBRARY (OPENCL_LIBRARIES OpenCL.lib PATHS "$ENV{ATISTREAMSDKROOT} " "$ENV{AMDAPPSDKROOT} " " $ENV{INTELOCLSDKROOT} " PATH_SUFFIXES "/lib/x86_64" "/lib/x64 " )
3535 ELSE (${CMAKE_SIZEOF_VOID_P} EQUAL 8)
36- FIND_LIBRARY (OPENCL_LIBRARIES OpenCL.lib PATHS "$ENV{ATISTREAMSDKROOT} " "$ENV{AMDAPPSDKROOT} " PATH_SUFFIXES "/lib/x86" )
36+ FIND_LIBRARY (OPENCL_LIBRARIES OpenCL.lib PATHS "$ENV{ATISTREAMSDKROOT} " "$ENV{AMDAPPSDKROOT} " " $ENV{INTELOCLSDKROOT} " PATH_SUFFIXES "/lib/x86" )
3737 ENDIF ( ${CMAKE_SIZEOF_VOID_P} EQUAL 8 )
3838
3939 # On Win32 search relative to the library
40- FIND_PATH (OPENCL_INCLUDE_DIRS CL/cl.h PATHS "$ENV{ATISTREAMSDKROOT} " "$ENV{AMDAPPSDKROOT} " PATH_SUFFIXES "/include" )
41- FIND_PATH (_OPENCL_CPP_INCLUDE_DIRS CL/cl.hpp PATHS "$ENV{ATISTREAMSDKROOT} " "$ENV{AMDAPPSDKROOT} " PATH_SUFFIXES "/include" )
40+ FIND_PATH (OPENCL_INCLUDE_DIRS CL/cl.h PATHS "$ENV{ATISTREAMSDKROOT} " "$ENV{AMDAPPSDKROOT} " " $ENV{INTELOCLSDKROOT} " PATH_SUFFIXES "/include" )
41+ FIND_PATH (_OPENCL_CPP_INCLUDE_DIRS CL/cl.hpp PATHS "$ENV{ATISTREAMSDKROOT} " "$ENV{AMDAPPSDKROOT} " " $ENV{INTELOCLSDKROOT} " PATH_SUFFIXES "/include" )
4242
4343 ELSE (WIN32 )
4444
You can’t perform that action at this time.
0 commit comments