Use required option for glfw3

This commit is contained in:
Joshua Groves 2019-05-24 23:30:28 -02:30
parent 925718ff6d
commit 328e53852a

View File

@ -21,7 +21,7 @@ else(MSVC)
set(GLFW_LIBRARY glfw) set(GLFW_LIBRARY glfw)
endif(MSVC) endif(MSVC)
find_package(glfw3) find_package(glfw3 REQUIRED)
find_library(WGPU_LIBRARY wgpu_native find_library(WGPU_LIBRARY wgpu_native
HINTS "${CMAKE_CURRENT_SOURCE_DIR}/../../target/debug" HINTS "${CMAKE_CURRENT_SOURCE_DIR}/../../target/debug"