mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
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:
parent
ef5ee38576
commit
7d095c8b6e
@ -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
|
||||
# ------
|
||||
|
Loading…
Reference in New Issue
Block a user