mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 11:05:58 +01:00
miscfunctions: fix cross build
This commit is contained in:
parent
6744bb57c6
commit
505c1f8f4a
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ void logSystemInfo() {
|
||||||
#if defined(__DragonFly__) || defined(__FreeBSD__)
|
#if defined(__DragonFly__) || defined(__FreeBSD__)
|
||||||
const std::string GPUINFO = execAndGet("pciconf -lv | grep -F -A4 vga");
|
const std::string GPUINFO = execAndGet("pciconf -lv | grep -F -A4 vga");
|
||||||
#elif defined(__arm__) || defined(__aarch64__)
|
#elif defined(__arm__) || defined(__aarch64__)
|
||||||
const std::string GPUINFO;
|
std::string GPUINFO;
|
||||||
const std::filesystem::path dev_tree = "/proc/device-tree";
|
const std::filesystem::path dev_tree = "/proc/device-tree";
|
||||||
try {
|
try {
|
||||||
if (std::filesystem::exists(dev_tree) && std::filesystem::is_directory(dev_tree)) {
|
if (std::filesystem::exists(dev_tree) && std::filesystem::is_directory(dev_tree)) {
|
||||||
|
|
Loading…
Reference in a new issue