opencv/cmake
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
..
android Make Kotlin plugin version compatible with the Gradle version 2021-06-08 22:51:07 +09:00
checks Merge pull request #22462 from Biswa96:fix-directx-check 2022-10-03 08:37:36 +03:00
FindCUDA FIx misc. source and comment typos 2019-08-15 13:09:52 +03:00
mirrors fix a bug when download from github instead but the subdir is changed to a wrong one 2022-09-16 16:04:20 +08:00
platforms cmake(js): update js targets 2020-12-03 14:18:54 +00:00
templates spng encoder/decoder added as optional png codec 2022-08-29 00:03:43 +03:00
vars Merge pull request #20392 from fpetrogalli:aarch64-semihosting 2021-07-21 18:46:05 +03:00
cl2cpp.cmake cmake: don't add include <module>/src directory to avoid conflicts 2018-03-19 11:14:15 +03:00
copy_files.cmake cmake: fix android examples dependencies 2018-03-15 14:17:02 +03:00
FindCUDA.cmake Misc. typos 2018-07-31 18:44:23 +03:00
FindCUDNN.cmake Do not store full CuDNN version in cache to exclude inconsistency during reconfiguration. 2022-09-15 16:15:52 +03:00
FindFlake8.cmake cmake: fix pylint/flake8 detection, update flake8 exclude 2021-01-29 17:06:54 +00:00
FindONNX.cmake Added small cmake fix 2020-11-19 21:22:19 +03:00
FindOpenVX.cmake Updated OpenVX detector and wrappers to handle Reference attribute names change 2017-03-22 16:50:38 +03:00
FindPylint.cmake cmake: update Python linters handling 2021-03-05 12:54:51 +00:00
FindVulkan.cmake Merge pull request #12703 from wzw-intel:vkcom 2018-10-29 17:51:26 +03:00
OpenCVCompilerDefenses.cmake Do not force -O2 flag in hardening-enabled builds 2021-12-16 11:40:42 +03:00
OpenCVCompilerOptimizations.cmake Add Loongson Advanced SIMD Extension support: -DCPU_BASELINE=LASX 2022-09-10 09:39:43 +03:00
OpenCVCompilerOptions.cmake Merge pull request #22286 from asenyaev:asen/disabled_compiling_warnings_4.x 2022-09-20 15:13:06 +03:00
OpenCVCRTLinkage.cmake cmake: update handling of MSVC /MP flag 2020-02-11 21:05:44 +00:00
OpenCVDetectApacheAnt.cmake FIx misc. source and comment typos 2019-08-15 13:09:52 +03:00
OpenCVDetectCUDA.cmake Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-08-14 15:50:42 +00:00
OpenCVDetectCXXCompiler.cmake Add Loongson Advanced SIMD Extension support: -DCPU_BASELINE=LASX 2022-09-10 09:39:43 +03:00
OpenCVDetectDirectX.cmake Merge pull request #22462 from Biswa96:fix-directx-check 2022-10-03 08:37:36 +03:00
OpenCVDetectHalide.cmake build: suppress the warning 2022-07-12 19:42:39 +09:00
OpenCVDetectInferenceEngine.cmake Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-02-11 17:32:37 +00:00
OpenCVDetectOpenCL.cmake Fixed and updated OpenCL-VA interoperability 2020-09-25 16:11:50 +03:00
OpenCVDetectPython.cmake Merge pull request #21219 from asenyaev:asen/remove_distutils 2021-12-08 18:51:34 +00:00
OpenCVDetectTBB.cmake core(parallel): plugins support 2021-02-15 17:07:36 +00:00
OpenCVDetectTrace.cmake trace: initial support for code trace 2017-06-26 17:07:13 +03:00
OpenCVDetectVTK.cmake Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-10-04 19:50:01 +00:00
OpenCVDetectVulkan.cmake Merge pull request #12703 from wzw-intel:vkcom 2018-10-29 17:51:26 +03:00
OpenCVDetectWebNN.cmake Merge pull request #20406 from MarkGHX:gsoc_2021_webnn 2021-11-23 21:15:31 +00:00
OpenCVDownload.cmake Merge pull request #21531 from fengyuentau:add_3rdparty_mirrors 2022-03-18 09:50:21 +00:00
OpenCVExtraTargets.cmake cmake: update generation of 'uninstall' target 2020-04-07 22:03:12 +00:00
OpenCVFindAtlas.cmake moved BLAS/LAPACK detection scripts from opencv_contrib/dnn to the main repository (#7918) 2016-12-22 22:57:44 +03:00
OpenCVFindFrameworks.cmake fix OPENCV_DISABLE_THREAD_SUPPORT 2021-10-07 16:43:17 +02:00
OpenCVFindIPP.cmake IPP: use linker workaround for Intel compiler on Linux 2021-04-02 10:44:32 +03:00
OpenCVFindIPPIW.cmake Merge pull request #16769 from mshabunin:fix-ipp-install 2020-04-17 14:28:42 +00:00
OpenCVFindLAPACK.cmake Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-12-22 15:57:02 +00:00
OpenCVFindLATEX.cmake Started top-level CMakeLists.txt file reorganization: cmake scripts are moved to separate folder; refactored BUILD_*, INSTALL_*, ENABLE_*, USE_*, WITH_* options. 2012-01-03 13:48:12 +00:00
OpenCVFindLibsGrfmt.cmake spng encoder/decoder added as optional png codec 2022-08-29 00:03:43 +03:00
OpenCVFindLibsGUI.cmake Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-12-11 15:18:57 +00:00
OpenCVFindLibsPerf.cmake IPP: use linker workaround for Intel compiler on Linux 2021-04-02 10:44:32 +03:00
OpenCVFindLibsVideo.cmake Fixed and updated OpenCL-VA interoperability 2020-09-25 16:11:50 +03:00
OpenCVFindMKL.cmake cmake: workaround oneAPI problem with -DMKL_WITH_TBB=ON 2021-02-03 19:41:54 +00:00
OpenCVFindOpenBLAS.cmake Fix typo in OpenCVFindOpenBLAS.cmake file. 2020-11-08 14:42:47 +01:00
OpenCVFindOpenEXR.cmake Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-12-24 16:48:07 +00:00
OpenCVFindProtobuf.cmake cmake: fix protobuf handling 2020-04-27 02:11:19 +00:00
OpenCVFindTengine.cmake Merge pull request #16832 from liqi-c:3.4-tengine-android 2020-03-20 10:10:39 +00:00
OpenCVFindTIMVX.cmake Disable default path while search libtim-vx.so with TIMVX_INSTALL_DIR 2022-09-13 11:11:49 +08:00
OpenCVFindVA.cmake core(libva): use dynamic loader 2021-02-19 10:32:59 +00:00
OpenCVFindWebP.cmake update CMakeList.txt 2018-02-05 16:23:52 +03:00
OpenCVFindXimea.cmake Merge pull request #13422 from mshabunin:split-videoio-cmake 2018-12-26 15:50:20 +03:00
OpenCVGenABI.cmake cmake: support OPENCV_ABI_SKIP_MODULES_LIST 2020-01-27 14:40:48 +03:00
OpenCVGenAndroidMK.cmake next(android): java3 -> java4 2018-04-10 18:09:54 +03:00
OpenCVGenConfig.cmake Merge pull request #17165 from komakai:objc-binding 2020-06-08 18:32:53 +00:00
OpenCVGenHeaders.cmake cmake: support multiple CPU targets 2017-02-13 19:52:59 +03:00
OpenCVGenInfoPlist.cmake Merge pull request #18826 from Rightpoint:feature/colejd/build-catalyst-xcframework 2020-11-24 21:54:54 +00:00
OpenCVGenPkgconfig.cmake cmake: Enable pkgconfig support for mingw 2022-08-21 12:06:46 +05:30
OpenCVGenSetupVars.cmake Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2018-12-18 19:07:43 +00:00
OpenCVInstallLayout.cmake Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2019-09-20 21:11:49 +00:00
OpenCVMinDepVersions.cmake highgui: backends and plugins 2021-05-24 16:12:02 +00:00
OpenCVModule.cmake cmake: process modules in the same CMake scope 2021-07-22 15:22:42 +00:00
OpenCVPackaging.cmake Merge pull request #18073 from vpisarev:apache2_license 2020-08-17 11:49:11 +00:00
OpenCVPCHSupport.cmake Fix pch generation when linker flags used with GCC 2019-12-10 14:55:56 +00:00
OpenCVPluginStandalone.cmake Option to enable/disable plugin linking with OpenCV 2022-02-01 14:53:15 +03:00
OpenCVPylint.cmake cmake: update Python linters handling 2021-03-05 12:54:51 +00:00
OpenCVUtils.cmake Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-02-06 16:10:43 +00:00
OpenCVVersion.cmake cmake: update SOVERSION 2021-12-10 16:14:56 +00:00