Add XlibXcbFunctions to the CMake build

Bug: none
Change-Id: I6987e99822d5a417c1ceac2f0a1f939d1c85cfb8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/43720
Auto-Submit: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Austin Eng 2021-03-03 08:21:47 +00:00 committed by Commit Bot service account
parent f9d75ead9e
commit 9b5f442c78
1 changed files with 4 additions and 0 deletions

View File

@ -180,6 +180,10 @@ if (DAWN_USE_X11)
find_package(X11 REQUIRED)
target_link_libraries(dawn_native PRIVATE ${X11_LIBRARIES})
target_include_directories(dawn_native PRIVATE ${X11_INCLUDE_DIR})
target_sources(dawn_native PRIVATE
"XlibXcbFunctions.cpp"
"XlibXcbFunctions.h"
)
endif()
if (WIN32)