summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAchmad Fathoni2021-02-19 15:47:15 +0700
committerAchmad Fathoni2021-02-19 15:47:15 +0700
commitd8b58201ebfb2e5cd0fc91f9597f0e1fee9379b8 (patch)
tree00cfe70ad9b6b8824d8ed564dcbacefee7140cca /PKGBUILD
parentffd5fe80ac2afa56fdad2b4aed7fd7f98d046022 (diff)
downloadaur-ros-noetic-cartographer-rviz-git.tar.gz
add c++17 flag
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 91aa74fc759..ca3bdd3e44d 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
}