summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andreas Voegele2017-10-08 17:11:07 +0200
committer Willy Sudiarto Raharjo2017-10-11 01:19:31 +0200
commitad04e44f28a0074d9d7274de8224c5d99667147c (patch)
treed934783f7e858261180b24793aa9b24fe7844576
parentcb57425fa3435e5443e529470def41d9aab6f72f (diff)
downloadslackbuilds-ad04e44f28a0074d9d7274de8224c5d99667147c.tar.gz
libraries/pcl: Use QT4 by default.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 305b1cae46..36a4928f97 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 5712dbb2b5..9d9fb82e25 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