1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

cmake: prefer using CMAKE_SYSTEM_PROCESSOR / CMAKE_SIZEOF_VOID_P

Drop:
- discouraged CMAKE_CL_64
- MSVC64
- MINGW64
This commit is contained in:
Alexander Alekhin
2019-12-10 22:35:36 +00:00
parent e47f3e5bcc
commit 6ea29a7696
10 changed files with 102 additions and 56 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ if(WIN32)
if(HAVE_VFW)
list(APPEND VIDEOIO_LIBRARIES vfw32)
endif()
if(MINGW64)
if(MINGW AND CMAKE_SIZEOF_VOID_P EQUAL 8)
list(APPEND VIDEOIO_LIBRARIES avifil32 avicap32 winmm msvfw32)
list(REMOVE_ITEM VIDEOIO_LIBRARIES vfw32)
elseif(MINGW)