From e6a1de6dd1f2350709cea21fdf2871c11eb60416 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Wed, 30 Oct 2013 09:08:03 -0700 Subject: paths: get_module_paths adds share/uhd/modules to the list of applicable paths --- host/lib/utils/paths.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/utils/paths.cpp') diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp index d2686ac64..25cade693 100644 --- a/host/lib/utils/paths.cpp +++ b/host/lib/utils/paths.cpp @@ -86,6 +86,7 @@ std::vector get_image_paths(void){ std::vector get_module_paths(void){ std::vector paths = get_env_paths("UHD_MODULE_PATH"); paths.push_back(fs::path(uhd::get_pkg_path()) / UHD_LIB_DIR / "uhd" / "modules"); + paths.push_back(fs::path(uhd::get_pkg_path()) / "share" / "uhd" / "modules"); return paths; } -- cgit v1.2.3