Merge pull request #1023 from pengx17:2.4_fix_amd_path

This commit is contained in:
Roman Donchenko 2013-06-19 14:43:28 +04:00 committed by OpenCV Buildbot
commit 1aa7b1596b

View File

@ -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)