aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/ffmpeg/FindGnuTls.cmake
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-02-28 16:39:03 +1000
committerfuzzard <fuzzard@kodi.tv>2022-03-02 19:57:05 +1000
commit96dd983de67eada7c8f615bd551e2d04aa812fb3 (patch)
tree5314cc16e55b1bba0e02a67bdefbc7c548d325e3 /tools/depends/target/ffmpeg/FindGnuTls.cmake
parente0392177cc1ce07975885be409a0063c21de847f (diff)
[cmake] Refresh FindFFMPEG module to be more consistent with other find modules
FindFFMPEG refactor internal ffmpeg build to a function and allow fallback Fixup cmake for ffmpeg to allow osx use of ENABLE_INTERNAL_FFMPEG Refactor to mirror tools/depends options for cmake build introduce FindNASM module move FindGnuTLS module into project module dir
Diffstat (limited to 'tools/depends/target/ffmpeg/FindGnuTls.cmake')
-rw-r--r--tools/depends/target/ffmpeg/FindGnuTls.cmake27
1 files changed, 0 insertions, 27 deletions
diff --git a/tools/depends/target/ffmpeg/FindGnuTls.cmake b/tools/depends/target/ffmpeg/FindGnuTls.cmake
deleted file mode 100644
index 68c35d6b7e..0000000000
--- a/tools/depends/target/ffmpeg/FindGnuTls.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-# - Try to find gnutls
-# Once done this will define
-#
-# GNUTLS_FOUND - system has gnutls
-# GNUTLS_INCLUDE_DIRS - the gnutls include directory
-# GNUTLS_LIBRARIES - The gnutls libraries
-
-include(FindPkgConfig)
-find_package(PkgConfig)
-
-if(PKG_CONFIG_FOUND)
- pkg_check_modules (GNUTLS gnutls)
-endif()
-
-if(NOT GNUTLS_FOUND)
- find_path(GNUTLS_INCLUDE_DIRS gnutls/gnutls.h)
- find_library(GNUTLS_LIBRARIES gnutls)
-endif()
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(GnuTls DEFAULT_MSG GNUTLS_INCLUDE_DIRS GNUTLS_LIBRARIES)
-
-if(GNUTLS_FOUND)
- list(APPEND GNUTLS_DEFINITIONS -DHAVE_GNUTLS=1)
-endif()
-
-mark_as_advanced(GNUTLS_INCLUDE_DIRS GNUTLS_LIBRARIES GNUTLS_DEFINITIONS)