Clarify instructions for how to use SFML_ROOT

SFML_ROOT can simply point to the directory in which SFML was installed.
This is verified by our install interface tests which do exactly that,
even when SFML is built as a framework. CMake can figure out where
to find the config module if you give it this much information.
This commit is contained in:
Chris Thrasher 2024-01-16 13:34:50 -07:00
parent ef5ee38576
commit 7d095c8b6e

View File

@ -41,9 +41,8 @@
# Additionally, keep in mind that SFML frameworks are only available as release libraries unlike dylibs which
# are available for both release and debug modes.
#
# If SFML is not installed in a standard path, you can use the SFML_ROOT CMake variable
# to tell CMake where SFML's config file is located (PREFIX/lib/cmake/SFML for a library-based installation,
# and PREFIX/SFML.framework/Resources/CMake on macOS for a framework-based installation).
# If SFML is not installed in a standard path, you can use the SFML_ROOT CMake variable to tell CMake in what directory
# SFML was installed.
#
# Output
# ------