mirror of
https://github.com/opencv/opencv.git
synced 2024-12-15 09:49:13 +08:00
6cf0910842
* cmake: Fix DirectX detection in mingw The pragma comment directive is valid for MSVC only. So, the DirectX detection fails in mingw. The failure is fixed by adding the required linking library (here d3d11) in the try_compile() function in OpenCVDetectDirectX.cmake file. Also add a message if the first DirectX check fails. * gapi: Fix compilation with mingw These changes remove MSVC specific pragma directive. The compilation fails at linking time due to absence of proper linking library. The required libraries are added in corresponding CMakeLists.txt file. * samples: Fix compilation with mingw These changes remove MSVC specific pragma directive. The compilation fails at linking time due to absence of proper linking library. The required libraries are added in corresponding CMakeLists.txt file. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
d3d9_interop.cpp | ||
d3d9ex_interop.cpp | ||
d3d10_interop.cpp | ||
d3d11_interop.cpp | ||
d3dsample.hpp | ||
winapp.hpp |