Typo in CMake Tutorial » Step 2: Adding a Library

In the tutorial it is said to

Lastly, replace sqrt with our library function mathfunctions::mysqrt.

However, the functionmysqrt is in namespace mathfunctions::detail not just mathfunctions. There is a wrapper mathfunctions::sqrt which I believe should be mentioned instead. It is also written that way in the solution.

Thanks for catching this! I created a MR with a fix for the typo along with some other minor tutorial issues here: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8779