Fix unclear language in build guide

Fixes #1658.

(cherry picked from commit 9516df52a4)
This commit is contained in:
Camilla Löwy 2020-03-12 01:57:10 +01:00 committed by Camilla Löwy
parent c4b4476d78
commit aee62d3c16

View File

@ -219,7 +219,7 @@ find_package(OpenGL REQUIRED)
@endcode @endcode
If OpenGL is found, the `OpenGL::GL` target is added to your project, containing If OpenGL is found, the `OpenGL::GL` target is added to your project, containing
library and include directory paths. Link against this like above. library and include directory paths. Link against this like any other library.
@code{.cmake} @code{.cmake}
target_link_libraries(myapp OpenGL::GL) target_link_libraries(myapp OpenGL::GL)
@ -258,7 +258,7 @@ find_package(OpenGL REQUIRED)
@endcode @endcode
If OpenGL is found, the `OpenGL::GL` target is added to your project, containing If OpenGL is found, the `OpenGL::GL` target is added to your project, containing
library and include directory paths. Link against this like above. library and include directory paths. Link against this like any other library.
@code{.cmake} @code{.cmake}
target_link_libraries(myapp OpenGL::GL) target_link_libraries(myapp OpenGL::GL)