Skip to content

Commit

Permalink
specify version requirement for GLFW in readme and CMake file
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Feb 27, 2024
1 parent 7476d21 commit 92e5a17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ load the first frame of an animated WebP image.
### Prerequisites

To build webp-viewer from source you need a C++ compiler with support for C++17,
CMake 3.8 or later, OpenGL, the GLFW library and the libwebp library.
CMake 3.8 or later, OpenGL, the GLFW library (version 3.3 or later) and the
libwebp library.
pkg-config is required to make it easier to find compiler options for the
installed libraries. Additionally, the program uses Catch (C++ Automated Test
Cases in Headers) to perform some tests.
Expand Down
2 changes: 1 addition & 1 deletion webp-viewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ else ()
endif ()

# GLFW for window handling
find_package (glfw3 REQUIRED)
find_package (glfw3 3.3 REQUIRED)
if (glfw3_FOUND)
target_link_libraries (webp-viewer glfw)
else ()
Expand Down

0 comments on commit 92e5a17

Please sign in to comment.