[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60117] trunk/blender/intern/ghost/ CMakeLists.txt: Fix broken compiling with ndof on linux and win

jens verwiebe info at jensverwiebe.de
Fri Sep 13 23:21:54 CEST 2013


Revision: 60117
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60117
Author:   jensverwiebe
Date:     2013-09-13 21:21:53 +0000 (Fri, 13 Sep 2013)
Log Message:
-----------
Fix broken compiling with ndof on linux and win

Modified Paths:
--------------
    trunk/blender/intern/ghost/CMakeLists.txt

Modified: trunk/blender/intern/ghost/CMakeLists.txt
===================================================================
--- trunk/blender/intern/ghost/CMakeLists.txt	2013-09-13 21:13:57 UTC (rev 60116)
+++ trunk/blender/intern/ghost/CMakeLists.txt	2013-09-13 21:21:53 UTC (rev 60117)
@@ -322,6 +322,6 @@
 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()




More information about the Bf-blender-cvs mailing list