summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAchmad Fathoni2021-02-19 14:52:15 +0700
committerAchmad Fathoni2021-02-19 14:52:15 +0700
commit59ca9f35fb5c5c0ec1f5fa35b83e8bb7787ec40d (patch)
treeef667de89d7a0ff35de65bd7f84a20a6d2de45bb
parent313ff5067e906bd8e4432f50c8a1b060e68979f3 (diff)
downloadaur-ros-noetic-cartographer-ros-git.tar.gz
add c++17 flag
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a436b78c5d1..07c7e6374de 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros-noetic-cartographer-ros-git
pkgdesc = ROS - Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.
pkgver = r584.151c563
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/googlecartographer/cartographer_ros
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 9f3ae9af700..1d5178574c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ url='https://github.com/googlecartographer/cartographer_ros'
pkgname='ros-noetic-cartographer-ros-git'
pkgver=r584.151c563
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
-pkgrel=1
+pkgrel=2
license=('Apache 2.0')
provides=(${pkgname::-4})
@@ -110,7 +110,8 @@ build() {
-DPYTHON_INCLUDE_DIR=/usr/include/python3.9 \
-DPYTHON_LIBRARY=/usr/lib/libpython3.9.so \
-DPYTHON_BASENAME=-python3.9 \
- -DSETUPTOOLS_DEB_LAYOUT=OFF
+ -DSETUPTOOLS_DEB_LAYOUT=OFF \
+ -DCMAKE_CXX_STANDARD=17
make
}