obs-studio/cmake/Modules
tytan652 9c85ff8673 cmake,UI: Refactor find_qt macro
If QT_VERSION is not defined, it gets define with the AUTO value. And
its definition is moved to the helper file.

find_qt now:
- Check quietly for Qt5 and Qt6
- If QT_VERSION is set to AUTO. It checks firstly if Qt5 was found it
  will use it. If not it do the same for Qt6
- If QT_VERSION is set to 5 or 6, it checks if the choice was found and
  use it. And if not, it falls back to the other if found.
- If neither Qt5 or Qt6 are found, a fatal error is emitted.
- The macro saved the _QT_VERSION in the cache to replace QT_VERSION,
  so the process is not repeated each time that find_qt is used.
- When Qt::Gui is in the Linux component list, Qt::GuiPrivate is added.
  So using the versioned one is no longer required.
2022-07-26 17:34:26 +02:00
..
CompilerConfig.cmake cmake: Treat warnings as errors on MSVC 2022-07-18 03:52:04 -07:00
CopyMSVCBins.cmake cmake,UI: Refactor find_qt macro 2022-07-26 17:34:26 +02:00
DeprecationHelpers.cmake cmake: Fix diverging prefix padding for OBS status outputs 2022-03-26 09:44:23 -04:00
FindCEF.cmake cmake: Fix handling of optional debug wrapper libraries for obs-browser 2022-06-20 14:24:52 -04:00
FindDetours.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindFFmpeg.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindGio.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindJack.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindJansson.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindLibAJANTV2.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindLibVLC.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindLibdrm.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindLibfdk.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindLibpci.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindLibrnnoise.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindLibspeexdsp.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindLibv4l2.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindLibx264.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindLuajit.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindMbedTLS.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindOSS.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindPipeWire.cmake cmake: Rename variable in FindPipeWire for clarity 2022-04-14 18:01:23 -04:00
FindPythonWindows.cmake cmake: Change desired Python3 DLL name to stable ABI variant 2022-07-21 12:16:36 -04:00
FindRSSDK.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindSndio.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindSwigWindows.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindSysinfo.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindUdev.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindWayland.cmake cmake: Fix compilation of targets using FindWayland 2022-04-14 18:01:23 -04:00
FindX11_XCB.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindXCB.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
FindXkbcommon.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
IDLFileHelper.cmake cmake: Update CMake finders and helper modules 2022-03-16 23:11:06 +01:00
ObsDefaults_Linux.cmake cmake: Fix RPATH on Linux for frontend-tools to find obs-scripting 2022-07-21 12:16:36 -04:00
ObsDefaults_Windows.cmake cmake: Fix libraries and header files being installed for packages 2022-07-13 15:52:13 -04:00
ObsDefaults_macOS.cmake cmake: Fix build architectures and deployment target not set to defaults 2022-07-06 19:19:43 +02:00
ObsHelpers.cmake cmake,UI: Refactor find_qt macro 2022-07-26 17:34:26 +02:00
ObsHelpers_Linux.cmake cmake: Add EXCLUDE_FROM_ALL to Linux install_headers 2022-07-20 15:08:30 -04:00
ObsHelpers_Windows.cmake cmake: Fix libraries and header files being installed for packages 2022-07-13 15:52:13 -04:00
ObsHelpers_macOS.cmake cmake: Fix headers installation 2022-05-07 16:13:21 -07:00
VersionConfig.cmake cmake: Fix diverging prefix padding for OBS status outputs 2022-03-26 09:44:23 -04:00