summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/FindPylon.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/FindPylon.cmake b/cmake/FindPylon.cmake
index c1a4af1..9820201 100644
--- a/cmake/FindPylon.cmake
+++ b/cmake/FindPylon.cmake
@@ -25,6 +25,7 @@ if (NOT "$ENV{PYLON_ROOT}" STREQUAL "")
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)