summaryrefslogtreecommitdiff
path: root/debian/patches/05_cmake-config-LIB_SIFFIX.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/05_cmake-config-LIB_SIFFIX.patch')
-rw-r--r--debian/patches/05_cmake-config-LIB_SIFFIX.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/05_cmake-config-LIB_SIFFIX.patch b/debian/patches/05_cmake-config-LIB_SIFFIX.patch
new file mode 100644
index 0000000..b7f4fa2
--- /dev/null
+++ b/debian/patches/05_cmake-config-LIB_SIFFIX.patch
@@ -0,0 +1,17 @@
+Description: Install CMake config files into lib${LIB_SIFFIX}
+Author: James Cowgill <jcowgill@debian.org>
+Forwarded: no
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/cmake/Macros.cmake
++++ b/cmake/Macros.cmake
+@@ -320,7 +320,7 @@ function(sfml_export_targets)
+ if (SFML_BUILD_FRAMEWORKS)
+ set(config_package_location "SFML.framework/Resources/CMake")
+ else()
+- set(config_package_location lib/cmake/SFML)
++ set(config_package_location lib${LIB_SUFFIX}/cmake/SFML)
+ endif()
+ configure_package_config_file("${CURRENT_DIR}/SFMLConfig.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/SFMLConfig.cmake"
+ INSTALL_DESTINATION "${config_package_location}")