mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2024-11-17 00:25:57 +01:00
CMake: fix wl-client -> wl-scanner
This commit is contained in:
parent
7e98036dd1
commit
42d6a7fb28
1 changed files with 4 additions and 4 deletions
|
@ -72,8 +72,8 @@ add_executable(hyprpicker ${SRCFILES})
|
||||||
|
|
||||||
pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)
|
pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)
|
||||||
message(STATUS "Found wayland-protocols at ${WAYLAND_PROTOCOLS_DIR}")
|
message(STATUS "Found wayland-protocols at ${WAYLAND_PROTOCOLS_DIR}")
|
||||||
pkg_get_variable(WAYLAND_CLIENT_DIR wayland-client pkgdatadir)
|
pkg_get_variable(WAYLAND_SCANNER_DIR wayland-scanner pkgdatadir)
|
||||||
message(STATUS "Found wayland-client at ${WAYLAND_CLIENT_DIR}")
|
message(STATUS "Found wayland-scanner at ${WAYLAND_SCANNER_DIR}")
|
||||||
|
|
||||||
function(protocolnew protoPath protoName external)
|
function(protocolnew protoPath protoName external)
|
||||||
if(external)
|
if(external)
|
||||||
|
@ -95,7 +95,7 @@ function(protocolWayland)
|
||||||
OUTPUT ${CMAKE_SOURCE_DIR}/protocols/wayland.cpp
|
OUTPUT ${CMAKE_SOURCE_DIR}/protocols/wayland.cpp
|
||||||
${CMAKE_SOURCE_DIR}/protocols/wayland.hpp
|
${CMAKE_SOURCE_DIR}/protocols/wayland.hpp
|
||||||
COMMAND hyprwayland-scanner --wayland-enums --client
|
COMMAND hyprwayland-scanner --wayland-enums --client
|
||||||
${WAYLAND_CLIENT_DIR}/wayland.xml ${CMAKE_SOURCE_DIR}/protocols/
|
${WAYLAND_SCANNER_DIR}/wayland.xml ${CMAKE_SOURCE_DIR}/protocols/
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||||
target_sources(hyprpicker PRIVATE protocols/wayland.cpp protocols/wayland.hpp)
|
target_sources(hyprpicker PRIVATE protocols/wayland.cpp protocols/wayland.hpp)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
Loading…
Reference in a new issue