diff options
author | James Cowgill <jcowgill@debian.org> | 2024-05-12 22:56:18 +0100 |
---|---|---|
committer | James Cowgill <jcowgill@debian.org> | 2024-05-12 22:56:18 +0100 |
commit | 103ac63472a6275e44a4cda39d2f4be1a976a612 (patch) | |
tree | 0e8ce389a4659e991a6c3583b07b1ef96bbffd27 | |
parent | 26d6e7c36cc30e4a59adf474dff97b3037f50c06 (diff) |
Override SFML_DOC_PATH in SFMLConfig.cmake
Forwarded: not-needed
The existing detection assumes the documentation is installed in
/usr/share/doc/SFML, but we install it into
/usr/share/doc/libsfml-dev.
Forwarded: not-needed
Gbp-Pq: Name 05_cmake_override_doc_path.patch
-rw-r--r-- | cmake/SFMLConfig.cmake.in | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/cmake/SFMLConfig.cmake.in b/cmake/SFMLConfig.cmake.in index 30194c5..8731cba 100644 --- a/cmake/SFMLConfig.cmake.in +++ b/cmake/SFMLConfig.cmake.in @@ -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/doc/SFML - 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 "") |