opencv/samples/opengl
Biswapriyo Nath 6cf0910842
Merge pull request #22462 from Biswa96:fix-directx-check
* 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.
2022-10-03 08:37:36 +03:00
..
CMakeLists.txt cmake: fix OPENGL_LIBRARIES handling 2021-12-07 12:12:42 +00:00
opengl_interop.cpp Merge pull request #22462 from Biswa96:fix-directx-check 2022-10-03 08:37:36 +03:00
opengl.cpp Moved OpenGL sample to opengl folder 2018-09-24 13:13:30 +03:00
winapp.hpp Update samples 2018-09-05 18:16:40 +03:00