diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-09-13 19:18:17 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-09-13 19:18:17 +0400 |
commit | 3596ab932c9b3da89760e3d32e48c174b8ca5fea (patch) | |
tree | 6b0353ff9bc0a6f38148f86a469399f409b23b94 /intern/ghost/CMakeLists.txt | |
parent | e59bc04aa71792b07ae7004e26e706c92384a7de (diff) |
OSX: Compilefix for ndof symbols get magled when used extern C, now use discrete c files embedded, patch by Jake Kauth
Diffstat (limited to 'intern/ghost/CMakeLists.txt')
-rw-r--r-- | intern/ghost/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index 2538f0612db..0fb6d22b251 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -191,6 +191,10 @@ elseif(APPLE) intern/GHOST_NDOFManagerCocoa.mm intern/GHOST_NDOFManagerCocoa.h ) + list(APPEND SRC2 + intern/GHOST_NDOFManager3Dconnexion.c + intern/GHOST_NDOFManager3Dconnexion.h + ) endif() else() @@ -318,4 +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}") +endif() |