diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-09-14 01:21:53 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-09-14 01:21:53 +0400 |
commit | c446015974803054398da8ec3ad33e4c16f1d06d (patch) | |
tree | 891d6602b3d9a0234497ee89a3c4ff3d0cff9ec9 /intern/ghost | |
parent | 7a4780305331153f7a5251ec2d7108fc693e1ace (diff) |
Fix broken compiling with ndof on linux and win
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/CMakeLists.txt | 4 |
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() |