From 3cec4b29d66a0afccd6b1ee7b7d552f4d9a6d0e8 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Wed, 18 Apr 2012 18:42:49 +0200 Subject: [PATCH] FindSFML.cmake now uses the SFML_ROOT variable instead of SFMLDIR (the name is less confusing) --- cmake/Modules/FindSFML.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/Modules/FindSFML.cmake b/cmake/Modules/FindSFML.cmake index 01dd97411..cf28b1657 100644 --- a/cmake/Modules/FindSFML.cmake +++ b/cmake/Modules/FindSFML.cmake @@ -28,7 +28,7 @@ # Moreover, 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 SFMLDIR CMake (or environment) variable +# If SFML is not installed in a standard path, you can use the SFML_ROOT CMake (or environment) variable # to tell CMake where SFML is. # # Output @@ -65,8 +65,8 @@ endif() find_path(SFML_INCLUDE_DIR SFML/Config.hpp PATH_SUFFIXES include PATHS - ${SFMLDIR} - $ENV{SFMLDIR} + ${SFML_ROOT} + $ENV{SFML_ROOT} ~/Library/Frameworks /Library/Frameworks /usr/local/ @@ -108,8 +108,8 @@ endif() # find the requested modules set(SFML_FOUND TRUE) # will be set to false if one of the required modules is not found set(FIND_SFML_LIB_PATHS - ${SFMLDIR} - $ENV{SFMLDIR} + ${SFML_ROOT} + $ENV{SFML_ROOT} ~/Library/Frameworks /Library/Frameworks /usr/local