summaryrefslogtreecommitdiffstats
path: root/src/armadillo-2-nocmakeconfigfiles.patch
blob: 722a12abba125149d8871799cbbf6d12d764399e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This file is part of MXE.
See index.html for further information.

--- 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
@@ -404,7 +404,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()