Skip to content

Commit b9dca65

Browse files
rephrased indentation
1 parent ad99cc4 commit b9dca65

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cmake/gpu.cmake

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff 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()
7979
endif()

0 commit comments

Comments
 (0)