Fix cmake path finding for amd libs.
There is no WIN64 defined in the environment.
This commit is contained in:
parent
25613fbfd7
commit
9ecbce0111
@ -44,7 +44,7 @@ if(OPENCL_FOUND)
|
||||
set(OPENCL_INCLUDE_DIRS ${OPENCL_INCLUDE_DIR})
|
||||
set(OPENCL_LIBRARIES ${OPENCL_LIBRARY})
|
||||
|
||||
if(WIN64)
|
||||
if(WIN32 AND X86_64)
|
||||
set(CLAMD_POSSIBLE_LIB_SUFFIXES lib64/import)
|
||||
elseif(WIN32)
|
||||
set(CLAMD_POSSIBLE_LIB_SUFFIXES lib32/import)
|
||||
|
Loading…
Reference in New Issue
Block a user