summaryrefslogtreecommitdiffstats
path: root/cmake/FindPylon.cmake
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-10-16 15:49:36 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-10-16 15:49:36 +0200
commite2ac3b32fc40161411feb7668b88a9dd28b71e4e (patch)
tree418478505ba504b1eee7601e4020d06c177cb0aa /cmake/FindPylon.cmake
parent205c57d622217cecc66ab4d251c5db8e2a32902a (diff)
downloaduca-e2ac3b32fc40161411feb7668b88a9dd28b71e4e.tar.gz
uca-e2ac3b32fc40161411feb7668b88a9dd28b71e4e.tar.bz2
uca-e2ac3b32fc40161411feb7668b88a9dd28b71e4e.tar.xz
uca-e2ac3b32fc40161411feb7668b88a9dd28b71e4e.zip
Remove unused plugin search code
Diffstat (limited to 'cmake/FindPylon.cmake')
-rw-r--r--cmake/FindPylon.cmake37
1 files changed, 0 insertions, 37 deletions
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}")