Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 2011.09.05
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (10 sloc) 0.437 kB
# Find glfw
IF(GLFW_INCLUDE_DIR AND GLFW_LIBRARY)
set(GLFW_FIND_QUIETLY TRUE)
ENDIF(GLFW_INCLUDE_DIR AND GLFW_LIBRARY)
FIND_PATH(GLFW_INCLUDE_DIR GL/glfw.h)
SET(GLFW_NAMES ${GLFW_NAMES} libglfwdll libglfw glfw)
FIND_LIBRARY(GLFW_LIBRARY NAMES ${GLFW_NAMES} PATH)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GLFW DEFAULT_MSG GLFW_LIBRARY GLFW_INCLUDE_DIR)
mark_as_advanced(GLFW_INCLUDE_DIR GLFW_LIBRARY)
Jump to Line
Something went wrong with that request. Please try again.