mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
168eab6cc5
Use the path of the mapped librevngSupport.so to determine the root directory.
21 lines
297 B
C++
21 lines
297 B
C++
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "llvm/Support/Path.h"
|
|
|
|
#include "revng/Support/ResourceFinder.h"
|
|
|
|
namespace revng {
|
|
|
|
PathList ResourceFinder({
|
|
getCurrentRoot(),
|
|
|
|
#ifdef INSTALL_PATH
|
|
INSTALL_PATH,
|
|
#endif
|
|
|
|
});
|
|
|
|
} // namespace revng
|