mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 21:30:57 +00:00
Added a few tips to the GLFW building and compiling documentation.
This commit is contained in:
parent
4188c263e3
commit
5e2ca529af
@ -173,6 +173,9 @@ CMake files look for OpenGL.
|
||||
target_link_libraries(myapp glfw ${OPENGL_glu_LIBRARY} ${GLFW_LIBRARIES})
|
||||
@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
|
||||
|
||||
|
@ -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
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user