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:
parent
f9d75ead9e
commit
9b5f442c78
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue