Merge pull request #878 from pierotofy/vtkbuild

Fix VTK build error for certain environments

Former-commit-id: c6da3e7fa6
pull/1161/head v0.4-RC1
Piero Toffanin 2018-08-27 09:31:57 -04:00 zatwierdzone przez GitHub
commit 02fa5fb84e
4 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -12,6 +12,7 @@ find_library(PROJ4_LIBRARY "libproj.so" PATHS "/usr/lib" "/usr/lib/x86_64-linux-
add_definitions(-Wall -Wextra -Wconversion -pedantic -std=c++11)
# Find pcl at the location specified by PCL_DIR
find_package(VTK 6.0 REQUIRED)
find_package(PCL 1.8 HINTS "${PCL_DIR}/share/pcl-1.8")
# Find OpenCV at the default location

Wyświetl plik

@ -8,6 +8,7 @@ set(PCL_DIR "PCL_DIR-NOTFOUND" CACHE "PCL_DIR" "Path to the pcl installation dir
add_definitions(-Wall -Wextra)
# Find pcl at the location specified by PCL_DIR
find_package(VTK 6.0 REQUIRED)
find_package(PCL 1.8 HINTS "${PCL_DIR}/share/pcl-1.8")
# Add the PCL and Eigen include dirs.

Wyświetl plik

@ -9,6 +9,7 @@ set(OPENCV_DIR "OPENCV_DIR-NOTFOUND" CACHE "OPENCV_DIR" "Path to the OPENCV inst
add_definitions(-Wall -Wextra)
# Find pcl at the location specified by PCL_DIR
find_package(VTK 6.0 REQUIRED)
find_package(PCL 1.8 HINTS "${PCL_DIR}/share/pcl-1.8" REQUIRED)
# Find OpenCV at the default location

Wyświetl plik

@ -8,6 +8,7 @@ set(OPENCV_DIR "OPENCV_DIR-NOTFOUND" CACHE "OPENCV_DIR" "Path to the opencv inst
add_definitions(-Wall -Wextra)
# Find pcl at the location specified by PCL_DIR
find_package(VTK 6.0 REQUIRED)
find_package(PCL 1.8 HINTS "${PCL_DIR}/share/pcl-1.8" REQUIRED)
# Find OpenCV at the default location