aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorAndreas Voegele <andreas@andreasvoegele.com>2017-10-08 22:11:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-11 06:19:31 +0700
commitad04e44f28a0074d9d7274de8224c5d99667147c (patch)
treed934783f7e858261180b24793aa9b24fe7844576 /libraries
parentcb57425fa3435e5443e529470def41d9aab6f72f (diff)
libraries/pcl: Use QT4 by default.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/pcl/README3
-rw-r--r--libraries/pcl/pcl.SlackBuild1
2 files changed, 4 insertions, 0 deletions
diff --git a/libraries/pcl/README b/libraries/pcl/README
index 305b1cae46ef9..36a4928f97357 100644
--- a/libraries/pcl/README
+++ b/libraries/pcl/README
@@ -8,6 +8,9 @@ extract keypoints and compute descriptors to recognize objects in the
world based on their geometric appearance, and create surfaces from point
clouds and visualize them -- to name a few.
+Note on QT: Qt4 is used by default. If you only have Qt5, edit the option
+-DPCL_QT_VERSION and set it to 5.
+
Optional dependencies:
Available on SlackBuilds: - qhull, cudatoolkit
diff --git a/libraries/pcl/pcl.SlackBuild b/libraries/pcl/pcl.SlackBuild
index 5712dbb2b5374..9d9fb82e254b5 100644
--- a/libraries/pcl/pcl.SlackBuild
+++ b/libraries/pcl/pcl.SlackBuild
@@ -75,6 +75,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DLIB_INSTALL_DIR=lib${LIBDIRSUFFIX} \
+ -DPCL_QT_VERSION=4 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make