summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-08-09 12:36:28 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-08-09 12:36:28 +0200
commit859a6a6802e1891628af988a83a3e24b5b75c007 (patch)
tree324ea55df2fa8ada592bee6e3e39e29cbfef685e /cmake
parent16081d9f9cc6edf22c99ce890d1436cc8313bd20 (diff)
downloaduca-859a6a6802e1891628af988a83a3e24b5b75c007.tar.gz
uca-859a6a6802e1891628af988a83a3e24b5b75c007.tar.bz2
uca-859a6a6802e1891628af988a83a3e24b5b75c007.tar.xz
uca-859a6a6802e1891628af988a83a3e24b5b75c007.zip
Drop REQUIRED flag from Basler dependencies
If they are required, they cannot be built on machines without that dependency.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindPylon.cmake2
-rw-r--r--cmake/FindYAT.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindPylon.cmake b/cmake/FindPylon.cmake
index 9820201..01cee02 100644
--- a/cmake/FindPylon.cmake
+++ b/cmake/FindPylon.cmake
@@ -17,7 +17,7 @@ if (NOT "$ENV{PYLON_ROOT}" STREQUAL "")
find_library(YAT_LIB yat ${YAT_LIBRARY_DIRS})
- pkg_check_modules(LIBPYLONCAM pyloncam>=0.1 REQUIRED)
+ pkg_check_modules(LIBPYLONCAM pyloncam>=0.1)
if (DEFINED LIBPYLONCAM_OTHER_PREFIX)
string(REPLACE ${LIBPYLONCAM_PREFIX} ${LIBPYLONCAM_OTHER_PREFIX}
LIBPYLONCAM_INCLUDEDIR ${LIBPYLONCAM_INCLUDEDIR})
diff --git a/cmake/FindYAT.cmake b/cmake/FindYAT.cmake
index 92da3c8..1f9a98b 100644
--- a/cmake/FindYAT.cmake
+++ b/cmake/FindYAT.cmake
@@ -1,6 +1,6 @@
find_package(PkgConfig)
-pkg_check_modules(YAT yat>=1.7.7 REQUIRED)
+pkg_check_modules(YAT yat>=1.7.7)
find_library(YAT_LIB yat ${YAT_LIBRARY_DIRS})