hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
273 stars 47 forks source link

current cmake build instructions fail #165

Closed RichAyotte closed 8 months ago

RichAyotte commented 8 months ago

The current cmake installation instructions

cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -B build
cmake --install /usr

fail with:

11:31 $ cmake --install /usr
CMake Error: Not a file: /usr/cmake_install.cmake
CMake Error: Error processing file: /usr/cmake_install.cmake

The following worked for me

cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -B build
cmake --build build
sudo cmake --install build

Let me know if you'd like a PR

fufexan commented 8 months ago

Thanks, updated in f2a8536d42acd5906cacc82b2bbcf4db5545267d.