summaryrefslogtreecommitdiff
path: root/cmake/SFMLConfig.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/SFMLConfig.cmake.in')
-rw-r--r--cmake/SFMLConfig.cmake.in20
1 files changed, 2 insertions, 18 deletions
diff --git a/cmake/SFMLConfig.cmake.in b/cmake/SFMLConfig.cmake.in
index ce81953..8731cba 100644
--- a/cmake/SFMLConfig.cmake.in
+++ b/cmake/SFMLConfig.cmake.in
@@ -14,7 +14,7 @@
# example:
# find_package(SFML COMPONENTS ...) # no specific version required
# find_package(SFML 2 COMPONENTS ...) # any 2.x version
-# find_package(SFML 2.4 COMPONENTS ...) # version 2.4 or greater
+# find_package(SFML 2.6 COMPONENTS ...) # version 2.6 or greater
#
# By default, the dynamic libraries of SFML will be found. To find the static ones instead,
# you must set the SFML_STATIC_LIBRARIES variable to TRUE before calling find_package(SFML ...).
@@ -63,23 +63,7 @@ if (NOT SFML_FIND_COMPONENTS)
message(FATAL_ERROR "find_package(SFML) called with no component")
endif()
-set(FIND_SFML_PATHS
- "${CMAKE_CURRENT_LIST_DIR}/../.."
- ${SFML_ROOT}
- $ENV{SFML_ROOT}
- ~/Library/Frameworks
- /Library/Frameworks
- /usr/local
- /usr
- /sw
- /opt/local
- /opt/csw
- /opt)
-
-find_path(SFML_DOC_DIR SFML.tag
- PATH_SUFFIXES SFML/doc share/SFML/doc
- PATHS ${FIND_SFML_PATHS})
-
+set(SFML_DOC_PATH "/usr/share/doc/libsfml-dev")
# Update requested components (eg. request window component if graphics component was requested)
set(FIND_SFML_SYSTEM_DEPENDENCIES "")