projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25613fb
)
Fix cmake path finding for amd libs.
author
peng xiao
<hisenxpress@gmail.com>
Wed, 19 Jun 2013 03:31:42 +0000
(11:31 +0800)
committer
peng xiao
<hisenxpress@gmail.com>
Wed, 19 Jun 2013 03:31:42 +0000
(11:31 +0800)
There is no WIN64 defined in the environment.
cmake/OpenCVDetectOpenCL.cmake
patch
|
blob
|
history
diff --git
a/cmake/OpenCVDetectOpenCL.cmake
b/cmake/OpenCVDetectOpenCL.cmake
index
a1e8bba
..
2c96274
100644
(file)
--- a/
cmake/OpenCVDetectOpenCL.cmake
+++ b/
cmake/OpenCVDetectOpenCL.cmake
@@
-44,7
+44,7
@@
if(OPENCL_FOUND)
set(OPENCL_INCLUDE_DIRS ${OPENCL_INCLUDE_DIR})
set(OPENCL_LIBRARIES ${OPENCL_LIBRARY})
- if(WIN64)
+ if(WIN
32 AND X86_
64)
set(CLAMD_POSSIBLE_LIB_SUFFIXES lib64/import)
elseif(WIN32)
set(CLAMD_POSSIBLE_LIB_SUFFIXES lib32/import)