summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAchmad Fathoni2021-02-19 15:47:15 +0700
committerAchmad Fathoni2021-02-19 15:47:15 +0700
commitd8b58201ebfb2e5cd0fc91f9597f0e1fee9379b8 (patch)
tree00cfe70ad9b6b8824d8ed564dcbacefee7140cca
parentffd5fe80ac2afa56fdad2b4aed7fd7f98d046022 (diff)
downloadaur-ros-noetic-cartographer-rviz-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 fe15fa5e5760..a54ca20cec48 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros-noetic-cartographer-rviz-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/cartographer-project/cartographer_ros
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 91aa74fc7590..ca3bdd3e44d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ url='https://github.com/cartographer-project/cartographer_ros'
pkgname='ros-noetic-cartographer-rviz-git'
pkgver=r584.151c563
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
-pkgrel=1
+pkgrel=2
license=('Apache 2.0')
provides=(${pkgname::-4})
@@ -86,7 +86,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
}