Add mention of sol2::sol2 alias in build.rst

This commit is contained in:
Elias Daler 2023-02-16 12:47:17 +01:00 committed by The Phantom Derpstorm
parent 19898d8d3e
commit eab1430ccd

View File

@ -3,7 +3,7 @@ build
sol2 is a header-only library.
sol2 comes with a CMake script in the top level. It is primarily made for building and running the examples and tests, but it includes exported and configured targets (``sol2``, ``sol2_single``) for your use.
sol2 comes with a CMake script in the top level. It is primarily made for building and running the examples and tests, but it includes exported and configured targets (``sol2``, ``sol2_single``) for your use. ``sol2::sol2`` alias is defined for the ``sol2`` target as well.
sol2 also comes with a Meson Script. If things stop working, file a bug report.