mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 14:08:04 +00:00
CMake: couple fixes for UWP
Fix a capitalization error in CMakeLists.txt Link dxgi.lib only in UWP compilation in CMakeLists.txt Bug: dawn:766 Change-Id: I011f44c8147998a9f4b3a55b25888ca1ad05a3e1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/56180 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
@@ -205,7 +205,9 @@ endif()
|
||||
# So we only link to it in debug build when compiling for UWP.
|
||||
# In win32 we load dxgi.dll using LoadLibrary
|
||||
# so no need for static linking.
|
||||
target_link_libraries(dawn_native PRIVATE debug dxgi.lib)
|
||||
if (WINDOWS_STORE)
|
||||
target_link_libraries(dawn_native PRIVATE debug dxgi.lib)
|
||||
endif()
|
||||
|
||||
if (DAWN_ENABLE_D3D12)
|
||||
target_sources(dawn_native PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user