From e53a7cc8748546a10f95b4b19f5b209a33b24f4e Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Mon, 16 Aug 2021 15:32:52 +0000 Subject: [PATCH] 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 Reviewed-by: Austin Eng --- src/common/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 4bdeec4f60..fe90b29a9a 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -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)