Browse Source

Set CMAKE_FIND_PACKAGE_PREFER_CONFIG to TRUE.

pull/348/merge
Canming Huang 5 years ago
parent
commit
7b1f65acd2
  1. 1
      platforms/windows/Build_Binary_x86.bat

1
platforms/windows/Build_Binary_x86.bat

@ -199,6 +199,7 @@ SET EMGU_CV_CMAKE_CONFIG_FLAGS= -G %CMAKE_CONF% %GENERAL_CMAKE_CONFIG_FLAGS% ^
-DCMAKE_DISABLE_FIND_PACKAGE_BZip2:BOOL=TRUE ^
-DCMAKE_DISABLE_FIND_PACKAGE_ZLIB:BOOL=TRUE ^
-DCMAKE_DISABLE_FIND_PACKAGE_PNG:BOOL=TRUE ^
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG:BOOL=TRUE ^
-DVIDEOIO_PLUGIN_LIST:STRING="ffmpeg"
REM For Freetype, removed the "d" postfix for debug mode.

Loading…
Cancel
Save