mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-08 05:05:59 +01:00
CMake: fix external building in protocolNew
This commit is contained in:
parent
543092f9cc
commit
694c08bb5e
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ endfunction()
|
|||
function(protocolNew protoPath protoName external)
|
||||
if (external)
|
||||
execute_process(
|
||||
COMMAND hyprwayland-scanner ${WAYLAND_PROTOCOLS_DIR}/${protoPath} ${CMAKE_SOURCE_DIR}/protocols/
|
||||
COMMAND hyprwayland-scanner ${protoPath} ${CMAKE_SOURCE_DIR}/protocols/
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||
target_sources(Hyprland PRIVATE protocols/${protoName}.cpp)
|
||||
else()
|
||||
|
|
Loading…
Reference in a new issue