diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-15 12:18:35 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-15 12:18:35 -0700 |
commit | 7b084e3af206afa20ff5a026ebf5d7e49a755def (patch) | |
tree | 04f304cb096f30dbd965e69dc7c7efb804a93ccf /host/lib/utils/paths.cpp | |
parent | 98ba0cc067489d417342314a7e7408d2dbbc8250 (diff) | |
download | uhd-7b084e3af206afa20ff5a026ebf5d7e49a755def.tar.gz uhd-7b084e3af206afa20ff5a026ebf5d7e49a755def.tar.bz2 uhd-7b084e3af206afa20ff5a026ebf5d7e49a755def.zip |
uhd: use cmake to convert the pkg data dir to native system format
Diffstat (limited to 'host/lib/utils/paths.cpp')
-rw-r--r-- | host/lib/utils/paths.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp index 9ac20d855..3f29945dd 100644 --- a/host/lib/utils/paths.cpp +++ b/host/lib/utils/paths.cpp @@ -72,13 +72,13 @@ static std::vector<fs::path> get_env_paths(const std::string &var_name){ **********************************************************************/ std::vector<fs::path> get_image_paths(void){ std::vector<fs::path> paths = get_env_paths("UHD_IMAGE_PATH"); - paths.push_back(fs::path(UHD_INSTALL_PREFIX) / UHD_PKG_DATA_DIR / "images"); + paths.push_back(fs::path(FULL_PKG_DATA_DIR) / "images"); return paths; } std::vector<fs::path> get_module_paths(void){ std::vector<fs::path> paths = get_env_paths("UHD_MODULE_PATH"); - paths.push_back(fs::path(UHD_INSTALL_PREFIX) / UHD_PKG_DATA_DIR / "modules"); + paths.push_back(fs::path(FULL_PKG_DATA_DIR) / "modules"); return paths; } |