Skip to content

Commit 82ff79d

Browse files
committed
require the libs so we fail early
1 parent 30f7594 commit 82ff79d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/gpu.cmake

+2
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,13 @@ if(MSVC)
101101
find_library(WEBGPU_DAWN_MONOLITHIC
102102
NAMES webgpu_dawn
103103
PATHS "${DAWN_INSTALL_PREFIX}/src/dawn/native/${CMAKE_BUILD_TYPE}"
104+
REQUIRED
104105
)
105106
else()
106107
find_library(WEBGPU_DAWN_MONOLITHIC
107108
NAMES webgpu_dawn
108109
PATHS "${DAWN_INSTALL_PREFIX}/src/dawn/native"
110+
REQUIRED
109111
)
110112
endif()
111113

0 commit comments

Comments
 (0)