From 328e53852a69de29134ccc7928efc2a9fc75f326 Mon Sep 17 00:00:00 2001 From: Joshua Groves Date: Fri, 24 May 2019 23:30:28 -0230 Subject: [PATCH] Use required option for glfw3 --- examples/hello_triangle_c/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"