From e2ac3b32fc40161411feb7668b88a9dd28b71e4e Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 16 Oct 2017 15:49:36 +0200 Subject: Remove unused plugin search code --- cmake/FindDEXELA.cmake | 19 ------------------- cmake/FindPylon.cmake | 37 ------------------------------------- cmake/FindYAT.cmake | 5 ----- 3 files changed, 61 deletions(-) delete mode 100644 cmake/FindDEXELA.cmake delete mode 100644 cmake/FindPylon.cmake delete mode 100644 cmake/FindYAT.cmake diff --git a/cmake/FindDEXELA.cmake b/cmake/FindDEXELA.cmake deleted file mode 100644 index a68bf6c..0000000 --- a/cmake/FindDEXELA.cmake +++ /dev/null @@ -1,19 +0,0 @@ -# Try to find libdexela.so -# -# Defines -# -# DEXELA_FOUND - system has libdexela -# DEXELA_INCLUDE_DIRS - libdexela include directory -# DEXELA_LIBRARIES - dexela library - -find_package(PackageHandleStandardArgs) - -find_path(DEXELA_INCLUDE_DIRS dexela_api.h PATHS /usr/include /usr/include/dexela) -find_library(DEXELA_LIBRARIES dexela) - -find_package_handle_standard_args(DEXELA DEFAULT_MSG DEXELA_LIBRARIES DEXELA_INCLUDE_DIRS) - -mark_as_advanced( - DEXELA_INCLUDE_DIRS - DEXELA_LIBRARIES -) diff --git a/cmake/FindPylon.cmake b/cmake/FindPylon.cmake deleted file mode 100644 index e096bb4..0000000 --- a/cmake/FindPylon.cmake +++ /dev/null @@ -1,37 +0,0 @@ - -# Try to find libpylon.so -# -# Defines -# -# PYLON_FOUND - system has libpylon -# PYLON_INCLUDE_DIR - libpylon include directory -# PYLON_LIB - pylon library - -# check for environment variable PYLON_ROOT -find_package(YAT) -find_package(PkgConfig) -find_package(PackageHandleStandardArgs) - -if (NOT "$ENV{PYLON_ROOT}" STREQUAL "") - find_library(YAT_LIB yat ${YAT_LIBRARY_DIRS}) - - pkg_check_modules(LIBPYLONCAM pyloncam>=0.1) - - if (DEFINED LIBPYLONCAM_OTHER_PREFIX) - string(REPLACE ${LIBPYLONCAM_PREFIX} ${LIBPYLONCAM_OTHER_PREFIX} - LIBPYLONCAM_INCLUDEDIR ${LIBPYLONCAM_INCLUDEDIR}) - string(REPLACE ${LIBPYLONCAM_PREFIX} ${LIBPYLONCAM_OTHER_PREFIX} - LIBPYLONCAM_LIBRARIES ${LIBPYLONCAM_LIBRARIES}) - string(REPLACE ${LIBPYLONCAM_PREFIX} ${LIBPYLONCAM_OTHER_PREFIX} - LIBPYLONCAM_LIBDIR ${LIBPYLONCAM_LIBDIR}) - set(LIBPYLONCAM_LIBDIR ${LIBPYLONCAM_LIBDIR} PARENT_SCOPE) - endif() - - find_package_handle_standard_args(PYLON DEFAULT_MSG LIBPYLONCAM_INCLUDEDIR LIBPYLONCAM_LIBRARIES) - - mark_as_advanced( - LIBPYLONCAM_INCLUDEDIR - LIBPYLONCAM_LIBRARIES - LIBPYLONCAM_LIBDIR) -endif() -message("-- Pylon libraries found: ${PYLON_FOUND}") diff --git a/cmake/FindYAT.cmake b/cmake/FindYAT.cmake deleted file mode 100644 index 0d3ec56..0000000 --- a/cmake/FindYAT.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -find_package(PkgConfig) -pkg_check_modules(YAT yat>=1.7.7) - -find_library(YAT_LIB yat ${YAT_LIBRARY_DIRS}) -- cgit v1.2.3