From 91daa3bdebd1fc1e368ff9fa2e99b4ea1131361e Mon Sep 17 00:00:00 2001 From: Volker Kaiser Date: Thu, 2 Aug 2012 11:44:17 +0200 Subject: using LIBDIR --- cmake/FindPylon.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/FindPylon.cmake b/cmake/FindPylon.cmake index fc9624b..c1a4af1 100644 --- a/cmake/FindPylon.cmake +++ b/cmake/FindPylon.cmake @@ -23,13 +23,16 @@ if (NOT "$ENV{PYLON_ROOT}" STREQUAL "") 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}) endif() find_package_handle_standard_args(PYLON DEFAULT_MSG LIBPYLONCAM_INCLUDEDIR LIBPYLONCAM_LIBRARIES) mark_as_advanced( LIBPYLONCAM_INCLUDEDIR - LIBPYLONCAM_LIBRARIES) + LIBPYLONCAM_LIBRARIES + LIBPYLONCAM_LIBDIR) else() message("Environment variable PYLON_ROOT not found! => unable to build pylon camera support") -- cgit v1.2.3