From 7d095c8b6e34b354121cef71089b3694a0e8a246 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Tue, 16 Jan 2024 13:34:50 -0700 Subject: [PATCH] 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. --- cmake/SFMLConfig.cmake.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake/SFMLConfig.cmake.in b/cmake/SFMLConfig.cmake.in index 7c35a05ac..536411e24 100644 --- a/cmake/SFMLConfig.cmake.in +++ b/cmake/SFMLConfig.cmake.in @@ -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 # ------