1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:47:34 +00:00

Meta: Support GPU painting in the GN build

This commit is contained in:
Timothy Flynn 2023-12-01 12:45:05 -05:00 committed by Tim Flynn
parent 8fc5c8b7df
commit 8504d8f588
4 changed files with 12 additions and 1 deletions

View file

@ -70,4 +70,8 @@ executable("WebContent") {
"main.cpp",
]
sources += get_target_outputs(":generate_moc")
if (current_os == "linux" || current_os == "mac") {
cflags_cc = [ "-DHAS_ACCELERATED_GRAPHICS" ]
}
}