Fix CMake build on macOS

Fixed: dawn:1061
Change-Id: Ie4208f32e9403220d78601ebefcc62c2c44c3485
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/62040
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Corentin Wallez 2021-08-16 15:32:52 +00:00 committed by Dawn LUCI CQ
parent 0becd05857
commit e53a7cc874
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ if (WIN32)
"WindowsUtils.h"
"windows_with_undefs.h"
)
elseif(APPLE)
target_sources(dawn_common PRIVATE
"SystemUtils_mac.mm"
)
endif()
target_link_libraries(dawn_common PUBLIC dawncpp_headers PRIVATE dawn_internal_config)