summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-08-27 07:04:59 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2015-08-27 07:04:59 (GMT)
commit28a3e3978a1b633a937f67904a12690ea047f953 (patch)
treeafc62bf93207728bd6ee43bf3a1b6d02c6027701 /src
parenta9ce62062ba5dc7d95abbfb28feb27877c46a68e (diff)
parent83ae08097437ed33b57d2058bdf9692772b78dc4 (diff)
downloadmxe-28a3e3978a1b633a937f67904a12690ea047f953.zip
mxe-28a3e3978a1b633a937f67904a12690ea047f953.tar.gz
mxe-28a3e3978a1b633a937f67904a12690ea047f953.tar.bz2
Merge pull request #800 from LuaAndC/fix-pcl-cmake-policy
fix pcl build
Diffstat (limited to 'src')
-rw-r--r--src/pcl-1-cmake-policy-cmp0017.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/pcl-1-cmake-policy-cmp0017.patch b/src/pcl-1-cmake-policy-cmp0017.patch
new file mode 100644
index 0000000..4f70ec8
--- /dev/null
+++ b/src/pcl-1-cmake-policy-cmp0017.patch
@@ -0,0 +1,28 @@
+This file is part of MXE.
+See index.html for further information.
+
+From 0a5d7e96ad3d5ce39284968258fe78f39fe5f4ca Mon Sep 17 00:00:00 2001
+From: Boris Nagaev <bnagaev@gmail.com>
+Date: Thu, 27 Aug 2015 08:16:41 +0200
+Subject: [PATCH] cmake_policy CMP0017
+
+---
+ CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f0a5600..ea9ebcf 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,6 +5,8 @@ if(POLICY CMP0048)
+ cmake_policy(SET CMP0048 OLD) # do not use VERSION option in project() command
+ endif()
+
++cmake_policy(SET CMP0017 NEW)
++
+ set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "possible configurations" FORCE)
+
+ # In case the user does not setup CMAKE_BUILD_TYPE, assume it's RelWithDebInfo
+--
+1.7.10.4
+