Documentation work

This commit is contained in:
Camilla Löwy
2017-04-06 02:02:16 +02:00
parent 66b16f1fc1
commit 9457cf33d1
2 changed files with 11 additions and 2 deletions
+9
View File
@@ -243,6 +243,15 @@ target files generated when GLFW is installed.
find_package(glfw3 3.3 REQUIRED)
@endcode
Once GLFW has been added to the project, link against it with the `glfw` target.
This adds all link-time dependencies of GLFW as it is currently configured,
the include directory for the GLFW header and, when applicable, the @ref
GLFW_DLL macro.
@code{.cmake}
target_link_libraries(myapp glfw)
@endcode
Note that the dependencies do not include OpenGL or GLU, as GLFW loads any
OpenGL, OpenGL ES or Vulkan libraries it needs at runtime and does not use GLU.
If your application calls OpenGL directly, instead of using a modern