Commit ec93902d authored by Jean-Baptiste Vimort's avatar Jean-Baptiste Vimort

ENH: Improvement of the VRPN superbuild

Contributor: Alexis Girault <alexis.girault@kitware.com>
parent abc13caf
......@@ -12,7 +12,7 @@ endif(WIN32)
option(${PROJECT_NAME}_USE_OMNI "Build OpenHaptics to support the Phantom Omni in VRPN." OFF)
if(${${PROJECT_NAME}_USE_OMNI})
message(STATUS "Superbuild - VRPN => ENABLING Phantom Omni support")
if(NOT DEFINED OPENHAPTICS_ROOT_DIR)
if(NOT DEFINED OPENHAPTICS_ROOT_DIR OR NOT EXISTS ${OPENHAPTICS_ROOT_DIR})
set(OPENHAPTICS_ROOT_DIR "$ENV{OH_SDK_BASE}" CACHE PATH "Path to OpenHaptics install directory." FORCE)
endif()
if(NOT EXISTS ${OPENHAPTICS_ROOT_DIR})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment