Skip to content

Commit

Permalink
Using GLFW caps to be compatible with Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dafarra committed Jun 28, 2021
1 parent e7abccf commit a1eeaed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ find_package(YCM REQUIRED)
find_package(YARP 3.4 COMPONENTS os sig dev math REQUIRED)
find_package(Threads REQUIRED)
find_package(OpenXR 1.0 REQUIRED)
find_package(glfw3 REQUIRED)
find_package(GLFW3 REQUIRED)
find_package(Eigen3 REQUIRED)

## This is to select the newest version of OpenGL
Expand Down
2 changes: 1 addition & 1 deletion src/devices/openxrheadset/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This software may be modified and distributed under the terms of the
# BSD-2-Clause license. See the accompanying LICENSE file for details.

set(DEPENDS_STRING "OpenXR_FOUND;glfw3_FOUND;OpenGL_FOUND; Eigen3_FOUND")
set(DEPENDS_STRING "OpenXR_FOUND;GLFW3_FOUND;OpenGL_FOUND; Eigen3_FOUND")

if (NOT WIN32)
string(APPEND DEPENDS_STRING ";X11_FOUND")
Expand Down

0 comments on commit a1eeaed

Please sign in to comment.