summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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