Skip to content

Commit

Permalink
Fix CMake build of samples.
Browse files Browse the repository at this point in the history
  • Loading branch information
juj committed Nov 30, 2022
1 parent e34db59 commit 3a11fe3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ endif()
include_directories("${LIB_DIR}")
include_directories("${COMMON_DIR}")

file(GLOB_RECURSE lib ${LIB_DIR}/*.cpp)
add_library(webgpu STATIC ${lib})
add_library(webgpu STATIC ${LIB_DIR}/lib_webgpu.cpp ${LIB_DIR}/lib_webgpu_cpp20.cpp)

add_executable(clear_screen clear_screen/clear_screen.c)
target_link_libraries(clear_screen webgpu)
Expand Down

0 comments on commit 3a11fe3

Please sign in to comment.