mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 13:20:58 +00:00
Merge 5e2ca529af
into 1a004264f4
This commit is contained in:
commit
acad9f5ab9
@ -182,6 +182,9 @@ CMake files look for OpenGL.
|
|||||||
target_link_libraries(myapp glfw ${OPENGL_glu_LIBRARY} ${GLFW_LIBRARIES})
|
target_link_libraries(myapp glfw ${OPENGL_glu_LIBRARY} ${GLFW_LIBRARIES})
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
|
@warning Don't define `GLFW_INCLUDE_NONE` before `add_subdirectory(path/to/glfw)`
|
||||||
|
in your `CMakeLists.txt` file, otherwise you will encounter build errors.
|
||||||
|
|
||||||
|
|
||||||
@subsection build_link_cmake_pkgconfig With CMake on Unix and installed GLFW binaries
|
@subsection build_link_cmake_pkgconfig With CMake on Unix and installed GLFW binaries
|
||||||
|
|
||||||
|
@ -240,6 +240,10 @@ High Performance Graphics Rendering on Optimus Systems_ for more details.
|
|||||||
context creation API. Note that EGL is not yet provided on all supported
|
context creation API. Note that EGL is not yet provided on all supported
|
||||||
platforms.
|
platforms.
|
||||||
|
|
||||||
|
@note Define these options before `add_subdirectory(path/to/glfw)` to make them
|
||||||
|
effective in your `CMakeLists.txt` file in case you are building your project
|
||||||
|
@ref build_link_cmake_source.
|
||||||
|
|
||||||
|
|
||||||
@section compile_manual Compiling GLFW manually
|
@section compile_manual Compiling GLFW manually
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user