Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2013-09-14 01:21:53 +0400
committerJens Verwiebe <info@jensverwiebe.de>2013-09-14 01:21:53 +0400
commitc446015974803054398da8ec3ad33e4c16f1d06d (patch)
tree891d6602b3d9a0234497ee89a3c4ff3d0cff9ec9
parent7a4780305331153f7a5251ec2d7108fc693e1ace (diff)
Fix broken compiling with ndof on linux and win
-rw-r--r--intern/ghost/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt
index 0fb6d22b251..a8287af396f 100644
--- a/intern/ghost/CMakeLists.txt
+++ b/intern/ghost/CMakeLists.txt
@@ -322,6 +322,6 @@ endif()
add_definitions(-DGLEW_STATIC)
blender_add_lib(bf_intern_ghost "${SRC}" "${INC}" "${INC_SYS}")
-if(WITH_INPUT_NDOF)
-blender_add_lib(bf_intern_ghostndof3dconnexion "${SRC2}" "${INC}" "${INC_SYS}")
+if(WITH_INPUT_NDOF AND APPLE) # workaround for clang3.3 mangling extern "C" symbols
+ blender_add_lib(bf_intern_ghostndof3dconnexion "${SRC2}" "${INC}" "${INC_SYS}")
endif()