File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -8,34 +8,6 @@ if(EMSCRIPTEN)
88 set (DAWN_BUILD_DIR "${DAWN_DIR} /build_web" CACHE INTERNAL "" )
99endif ()
1010
11- function (find_dawn_library)
12- if (MSVC )
13- find_library (WEBGPU_DAWN_DEBUG webgpu_dawn
14- NAMES webgpu_dawn
15- HINTS "${DAWN_BUILD_DIR} /src/dawn/native/Debug"
16- )
17- find_library (WEBGPU_DAWN_RELEASE webgpu_dawn
18- NAMES webgpu_dawn
19- HINTS "${DAWN_BUILD_DIR} /src/dawn/native/Release"
20- )
21- elseif (NOT EMSCRIPTEN AND NOT MSVC )
22- find_library (WEBGPU_DAWN_LIB
23- NAMES webgpu_dawn
24- PATHS "${DAWN_BUILD_DIR} /src/dawn/native"
25- REQUIRED
26- )
27- endif ()
28-
29- # Set result variables in parent scope
30- set (DAWN_BUILD_FOUND ON PARENT_SCOPE)
31- if (MSVC )
32- set (WEBGPU_DAWN_DEBUG ${WEBGPU_DAWN_DEBUG} PARENT_SCOPE)
33- set (WEBGPU_DAWN_RELEASE ${WEBGPU_DAWN_RELEASE} PARENT_SCOPE)
34- else ()
35- set (WEBGPU_DAWN_LIB ${WEBGPU_DAWN_LIB} PARENT_SCOPE)
36- endif ()
37- endfunction ()
38-
3911# Enable find for no dawn rebuilds with flutter run
4012set (ENABLE_DAWN_FIND OFF CACHE BOOL "Enable finding Dawn" FORCE)
4113set (DAWN_BUILD_FOUND OFF CACHE BOOL "Dawn build found" FORCE)
You can’t perform that action at this time.
0 commit comments