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:
parent
0becd05857
commit
e53a7cc874
|
@ -69,6 +69,10 @@ if (WIN32)
|
||||||
"WindowsUtils.h"
|
"WindowsUtils.h"
|
||||||
"windows_with_undefs.h"
|
"windows_with_undefs.h"
|
||||||
)
|
)
|
||||||
|
elseif(APPLE)
|
||||||
|
target_sources(dawn_common PRIVATE
|
||||||
|
"SystemUtils_mac.mm"
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(dawn_common PUBLIC dawncpp_headers PRIVATE dawn_internal_config)
|
target_link_libraries(dawn_common PUBLIC dawncpp_headers PRIVATE dawn_internal_config)
|
||||||
|
|
Loading…
Reference in New Issue