[Bf-blender-cvs] [84e0839] master: ndof: enable Linux support by default, unless libs missing
Mike Erwin
noreply at git.blender.org
Tue May 24 06:35:56 CEST 2016
Commit: 84e083953798b73ee05e9ad7161a22bcfbbdf083
Author: Mike Erwin
Date: Tue May 24 00:35:17 2016 -0400
Branches: master
https://developer.blender.org/rB84e083953798b73ee05e9ad7161a22bcfbbdf083
ndof: enable Linux support by default, unless libs missing
===================================================================
M CMakeLists.txt
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1539a55..2b40b92 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -172,7 +172,6 @@ if(UNIX AND NOT APPLE)
set(_init_CODEC_FFMPEG OFF)
set(_init_CYCLES_OSL OFF)
set(_init_IMAGE_OPENEXR OFF)
- set(_init_INPUT_NDOF OFF)
set(_init_JACK OFF)
set(_init_OPENCOLLADA OFF)
set(_init_OPENCOLORIO OFF)
@@ -1034,14 +1033,12 @@ if(UNIX AND NOT APPLE)
if(WITH_INPUT_NDOF)
find_package_wrapper(Spacenav)
- if(NOT SPACENAV_FOUND)
- set(WITH_INPUT_NDOF OFF)
- endif()
-
- # use generic names within blenders buildsystem.
if(SPACENAV_FOUND)
+ # use generic names within blenders buildsystem.
set(NDOF_INCLUDE_DIRS ${SPACENAV_INCLUDE_DIRS})
set(NDOF_LIBRARIES ${SPACENAV_LIBRARIES})
+ else()
+ set(WITH_INPUT_NDOF OFF)
endif()
endif()
More information about the Bf-blender-cvs
mailing list