diff --git a/examples/hello_triangle_c/CMakeLists.txt b/examples/hello_triangle_c/CMakeLists.txt index f3d9d3fca..cbc7f3c99 100644 --- a/examples/hello_triangle_c/CMakeLists.txt +++ b/examples/hello_triangle_c/CMakeLists.txt @@ -21,7 +21,7 @@ else(MSVC) set(GLFW_LIBRARY glfw) endif(MSVC) -find_package(glfw3) +find_package(glfw3 REQUIRED) find_library(WGPU_LIBRARY wgpu_native HINTS "${CMAKE_CURRENT_SOURCE_DIR}/../../target/debug"