From c446015974803054398da8ec3ad33e4c16f1d06d Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Fri, 13 Sep 2013 21:21:53 +0000 Subject: Fix broken compiling with ndof on linux and win --- intern/ghost/CMakeLists.txt | 4 ++-- 1 file 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() -- cgit v1.2.3