diff options
author | Vaxry <[email protected]> | 2024-04-08 18:05:46 +0100 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2024-04-08 20:54:06 +0300 |
commit | 0457c2e348faf37f7360a9ddfbf97b50de94e5c9 (patch) | |
tree | 5ff2850fe1b51da3c610069c2ea54966f302ac93 | |
parent | 125a8f7e0734d9310f6d046363828e33b67e972b (diff) | |
download | Hyprland-0457c2e348faf37f7360a9ddfbf97b50de94e5c9.tar.gz Hyprland-0457c2e348faf37f7360a9ddfbf97b50de94e5c9.zip |
pkg-config -> pkgconf for hyprpm and cmake
-rwxr-xr-x | CMakeLists.txt | 2 | ||||
-rw-r--r-- | hyprpm/src/core/PluginManager.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f5682de..88caf6ef 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,7 @@ ExternalProject_Add( find_program(WaylandScanner NAMES wayland-scanner) message(STATUS "Found WaylandScanner at ${WaylandScanner}") execute_process( - COMMAND pkg-config --variable=pkgdatadir wayland-protocols + COMMAND pkgconf --variable=pkgdatadir wayland-protocols WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_VARIABLE WAYLAND_PROTOCOLS_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index d895553b..3f7ea6c8 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -317,7 +317,7 @@ eHeadersErrors CPluginManager::headersValid() { return HEADERS_MISSING; // find headers commit - std::string cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkg-config --cflags --keep-system-cflags hyprland", DataState::getHeadersPath()); + std::string cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkgconf --cflags --keep-system-cflags hyprland", DataState::getHeadersPath()); auto headers = execAndGet(cmd.c_str()); if (!headers.contains("-I/")) |