This commit is contained in:
Siavash Eliasi 2015-03-17 15:51:32 +00:00
commit acad9f5ab9
2 changed files with 7 additions and 0 deletions

View File

@ -182,6 +182,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

View File

@ -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