Skip to content

Commit

Permalink
qhull is installed as libqhull in HIRONX
Browse files Browse the repository at this point in the history
  • Loading branch information
pazeshun committed Nov 14, 2019
1 parent 5cbb549 commit 852a1de
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
18 changes: 13 additions & 5 deletions cmake_modules/FindQuickHull.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
FIND_PATH(
QHULL_DIR
NAMES include/qhull/qhull.h
PATHS /usr /usr/local
DOC "the top directory of qhull")
IF (QNXNTO)
FIND_PATH(
QHULL_DIR
NAMES include/libqhull/libqhull.h
PATHS /usr /usr/local /opt/jsk
DOC "the top directory of qhull")
ELSE (QNXNTO)
FIND_PATH(
QHULL_DIR
NAMES include/qhull/qhull.h
PATHS /usr /usr/local
DOC "the top directory of qhull")
ENDIF (QNXNTO)

IF ( QHULL_DIR )
MESSAGE(STATUS "Found Qhull in ${QHULL_DIR}")
Expand Down
2 changes: 2 additions & 0 deletions lib/util/BVutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
extern "C" {
#if (defined __APPLE__)
#include <pcl/surface/qhull.h>
#elif (defined __QNX__)
#include <libqhull/qhull_a.h>
#else
#include <qhull/qhull_a.h>
#endif
Expand Down
2 changes: 2 additions & 0 deletions rtc/CollisionDetector/SetupCollisionPair.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
extern "C" {
#if (defined __APPLE__)
#include <pcl/surface/qhull.h>
#elif (defined __QNX__)
#include <libqhull/qhull_a.h>
#else
#include <qhull/qhull_a.h>
#endif
Expand Down
2 changes: 2 additions & 0 deletions rtc/CollisionDetector/vclip_1.0/src/PolyTree.C
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ using namespace Vclip;
extern "C" {
#if (defined __APPLE__)
#include <pcl/surface/qhull.h>
#elif (defined __QNX__)
#include "libqhull/qhull_a.h"
#else
#include "qhull/qhull_a.h"
#endif
Expand Down

0 comments on commit 852a1de

Please sign in to comment.