projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e86ced
)
Fix MinGW architecture detection
author
Alexander Nitsch
<nitsch@ht.tu-berlin.de>
Sat, 7 Mar 2015 14:37:21 +0000
(15:37 +0100)
committer
Alexander Nitsch
<nitsch@ht.tu-berlin.de>
Mon, 30 Mar 2015 22:05:47 +0000
(
00:05
+0200)
Fix typo that would always lead to detection of x86 for MinGW
builds in the OpenCVConfig.cmake file.
cmake/OpenCVConfig.cmake
patch
|
blob
|
history
diff --git
a/cmake/OpenCVConfig.cmake
b/cmake/OpenCVConfig.cmake
index
dfd7e8f
..
b69b60f
100644
(file)
--- a/
cmake/OpenCVConfig.cmake
+++ b/
cmake/OpenCVConfig.cmake
@@
-87,7
+87,7
@@
elseif(MINGW)
set(OpenCV_RUNTIME mingw)
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpmachine
- OUTPUT_VARIABLE OPENCV_GCC_TARGET_MACHINE
+ OUTPUT_VARIABLE
CMAKE_
OPENCV_GCC_TARGET_MACHINE
OUTPUT_STRIP_TRAILING_WHITESPACE)
if(CMAKE_OPENCV_GCC_TARGET_MACHINE MATCHES "64")
set(MINGW64 1)