Commit 16e6ad70835ca845e02361cd8f697d5ace1b11b4
docs tweak, thanks Zordan
| |   |
| 107 | 107 | program that builds from one file, ``main.cpp`` and uses boost |
| 108 | 108 | threads. My ``CMakeLists.txt`` looks like this:: |
| 109 | 109 | |
| include_directories("/home/troy/boost-1.41.0/src") |
| include("/home/troy/boost-1.41.0/build/lib/Exports.cmake") |
| include_directories( |
| /home/troy/boost-1.41.0/src |
| /home/troy/boost-1.41.0/build/lib/Exports.cmake |
| ) |
| 112 | 114 | |
| 113 | 115 | add_executable(my_program main.cpp) |
|
| 114 | 117 | target_link_libraries(my_program boost_thread-mt-shared-debug) |
| 115 | 118 | |
| 116 | 119 | When I build, I see |