Skip to content

Commit

Permalink
Fix to allow when build with mingw, to use OpenCV as a 3rd party
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Feb 10, 2015
1 parent 8422bb0 commit 328ff1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/OpenCVConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ elseif(MINGW)
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpmachine
OUTPUT_VARIABLE OPENCV_GCC_TARGET_MACHINE
OUTPUT_STRIP_TRAILING_WHITESPACE)
if(CMAKE_OPENCV_GCC_TARGET_MACHINE MATCHES "64")
if(OPENCV_GCC_TARGET_MACHINE MATCHES "64")
set(MINGW64 1)
set(OpenCV_ARCH x64)
else()
Expand Down

0 comments on commit 328ff1c

Please sign in to comment.