File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,13 @@ else()
6767 DOWNLOAD_DIR
6868 "${TARGET_FILE_PATH} /third_party/lib" )
6969 FetchContent_MakeAvailable(libdawn)
70- find_library (LIBDAWN dawn PATHS "${TARGET_FILE_PATH} /third_party/lib" )
71- if (LIBDAWN)
72- message (STATUS "Found libdawn: ${LIBDAWN} " )
73- # Link against libdawn
74- target_link_libraries (webgpulib INTERFACE ${LIBDAWN} )
75- else ()
76- message (
77- FATAL_ERROR "libdawn not found" )
78- endif ()
70+ find_library (LIBDAWN dawn REQUIRED PATHS "${TARGET_FILE_PATH} /third_party/lib" )
71+ if (LIBDAWN)
72+ message (STATUS "Found libdawn: ${LIBDAWN} " )
73+ # Link against libdawn
74+ target_link_libraries (webgpulib INTERFACE ${LIBDAWN} )
75+ else ()
76+ message (
77+ FATAL_ERROR "libdawn not found" )
78+ endif ()
7979endif ()
You can’t perform that action at this time.
0 commit comments