find_library(GLFW_LIBRARY glfw3)
find_path(GLFW_INCLUDE_DIR glfw3.h PATH_SUFFIXES GLFW)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GLFW GLFW_LIBRARY GLFW_INCLUDE_DIR)

find_library(GLFW_LIBRARY NAMES glfw3 glfw)
find_path(GLFW_INCLUDE_DIR glfw3.h PATH_SUFFIXES GLFW)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GLFW GLFW_LIBRARY GLFW_INCLUDE_DIR)

Fix GLFW library search by cmake
Fix GLFW library search by cmake

On mac, the glfw library is called libglfw3.dylib. On Linux (or at least on my
system) it's called libglfw.so. That's why we now specify both of these names
in the cmake find module.
