summaryrefslogtreecommitdiffstats
path: root/src/armadillo-2-nocmakeconfigfiles.patch
diff options
context:
space:
mode:
authorMediaCycle <mediacycle@server.mediacycle.private>2013-04-24 19:40:35 (GMT)
committerMediaCycle <mediacycle@server.mediacycle.private>2013-04-24 19:40:35 (GMT)
commit052da7c9569bb768bcd642dd7aec478695d99c44 (patch)
treea5ad3b20fb7fb3ead9e0ec3a2663b340ddeeea33 /src/armadillo-2-nocmakeconfigfiles.patch
parentdfe6aa63812dd9c7a424f6f79b788e96a82642b7 (diff)
downloadmxe-052da7c9569bb768bcd642dd7aec478695d99c44.zip
mxe-052da7c9569bb768bcd642dd7aec478695d99c44.tar.gz
mxe-052da7c9569bb768bcd642dd7aec478695d99c44.tar.bz2
Added a patch for armadillo that won't pollute user registries/homes anymore
Diffstat (limited to 'src/armadillo-2-nocmakeconfigfiles.patch')
-rw-r--r--src/armadillo-2-nocmakeconfigfiles.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/armadillo-2-nocmakeconfigfiles.patch b/src/armadillo-2-nocmakeconfigfiles.patch
new file mode 100644
index 0000000..c756d62
--- /dev/null
+++ b/src/armadillo-2-nocmakeconfigfiles.patch
@@ -0,0 +1,11 @@
+--- armadillo-3.800.2/CMakeLists.txt.patched 2013-04-22 17:15:39.000000000 +0200
++++ armadillo-3.800.2/CMakeLists.txt 2013-04-22 17:31:43.000000000 +0200
+@@ -363,7 +363,7 @@
+
+ # Export the package for use from the build-tree
+ # (this registers the build-tree with a global CMake-registry)
+-if(CMAKE_VERSION VERSION_GREATER "2.7")
++if(CMAKE_VERSION VERSION_GREATER "2.7" AND NOT (MINGW AND CMAKE_TOOLCHAIN_FILE))
+ export(PACKAGE armadillo)
+ endif()
+