vcpkg/ports/realsense2/fix-dependency-glfw3.patch
Alvin 21f3e7d698 [realsense2] update to 2.30 (#9220)
* [realsense2] update to 2.30

* [realsense2] Delete deprecated functions, change the REF to commit id
2020-01-10 15:39:20 -08:00

14 lines
469 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 16ced1b..ef1b158 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,7 +69,7 @@ include(CMake/install_config.cmake)
add_subdirectory(wrappers)
if (BUILD_EXAMPLES AND BUILD_GLSL_EXTENSIONS)
- find_package(glfw3 3.3 QUIET)
+ find_package(glfw3 CONFIG REQUIRED)
if(NOT TARGET glfw)
message(STATUS "GLFW 3.3 not found; using internal version")
set(GLFW_INSTALL ON CACHE BOOL "" FORCE)