diff --git a/debian/patches/003-use-system-hyprland-protocols.patch b/debian/patches/003-use-system-hyprland-protocols.patch index bc3ddb8..0ad9e64 100644 --- a/debian/patches/003-use-system-hyprland-protocols.patch +++ b/debian/patches/003-use-system-hyprland-protocols.patch @@ -12,10 +12,10 @@ Forwarded: not-needed if (external) - set(path ${CMAKE_SOURCE_DIR}/${protoPath}) + string(FIND ${protoPath} "/usr" debian_patch_found) -+ if(debian_patch_found EQUAL 0) -+ message(STATUS "Debian patch found!!!") ++ if(debian_patch_found EQUAL 0) ++ message(STATUS "Debian patch found!!!") + set(path ${protoPath}) -+ else() ++ else() + set(path ${CMAKE_SOURCE_DIR}/${protoPath}) + endif() else() @@ -27,10 +27,10 @@ Forwarded: not-needed if (external) - set(path ${CMAKE_SOURCE_DIR}/${protoPath}) + string(FIND ${protoPath} "/usr" debian_patch_found) -+ if(debian_patch_found EQUAL 0) -+ message(STATUS "Debian patch found!!!") ++ if(debian_patch_found EQUAL 0) ++ message(STATUS "Debian patch found!!!") + set(path ${protoPath}) -+ else() ++ else() + set(path ${CMAKE_SOURCE_DIR}/${protoPath}) + endif() else()