File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,17 @@ Copy the gtl directory to your project. Update your include path. That's all.
3333
3434If you are using cmake, you can use FetchContent to integrate gtl to your project, for example:
3535
36- ```
37- include(FetchContent)
38- FetchContent_Declare(
39- gtl
40- GIT_REPOSITORY https://github.com/greg7mdp/gtl.git
41- GIT_TAG v1.2.0 # adjust tag/branch/commit as needed
42- )
43- FetchContent_MakeAvailable(gtl)
44-
45- ...
46- target_link_libraries (my_target PRIVATE gtl)
36+ ``` cmake
37+ include(FetchContent)
38+ FetchContent_Declare(
39+ gtl
40+ GIT_REPOSITORY https://github.com/greg7mdp/gtl.git
41+ GIT_TAG v1.2.0 # adjust tag/branch/commit as needed
42+ )
43+ FetchContent_MakeAvailable(gtl)
44+
45+ ...
46+ target_link_libraries (my_target PRIVATE gtl)
4747```
4848
4949#### Using a package manager
You can’t perform that action at this time.
0 commit comments