Skip to content
Snippets Groups Projects
Commit d8fcaae3 authored by Ansgar Philippsen's avatar Ansgar Philippsen
Browse files

tweaks to spacenav build

parent 08c6018e
Branches
Tags
No related merge requests found
......@@ -240,6 +240,9 @@ endif()
if (ENABLE_SPNAV)
find_package(SpNav REQUIRED)
set(_SPNAV ON)
else()
set(_SPNAV OFF)
endif()
if (CMAKE_COMPILER_IS_GNUCXX)
......@@ -252,7 +255,6 @@ include_directories(${Boost_INCLUDE_DIRS}
${FFTW_INCLUDE_PATH}
${EIGEN2_INCLUDE_DIR}
${TIFF_INCLUDE_DIR}
${SPNAV_INCLUDE_DIR}
${PNG_INCLUDE_DIR}
)
if(USE_NUMPY)
......@@ -300,6 +302,7 @@ message(STATUS
" Image Processing support (-DENABLE_IMG) : ${_IMG}\n"
" Shader support (-DUSE_SHADER) : ${_SHADER}\n"
" Numpy support (-DUSE_NUMPY) : ${_NUMPY}\n"
" SpaceNav Device support (-DENABLE_SPNAV) : ${_SPNAV}\n"
" Optimize (-DOPTIMIZE) : ${_OPT}\n"
" Profiling support (-DPROFILE) : ${_PROFILE}\n"
" Double Precision (-DUSE_DOUBLE_PRECISION) : ${_DOUBLE_PREC}\n"
......
......@@ -98,6 +98,7 @@ log_reader.hh
)
if (ENABLE_SPNAV)
include_directories(${SPNAV_INCLUDE_DIR})
set(OST_GUI_INPUT_HEADERS
spnav_input.hh
IN_DIR input
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment