Fix linking for non-apple ndof
authorJens Verwiebe <info@jensverwiebe.de>
Tue, 5 Nov 2013 15:48:26 +0000 (15:48 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Tue, 5 Nov 2013 15:48:26 +0000 (15:48 +0000)
intern/ghost/CMakeLists.txt

index f4faa6e..beca24f 100644 (file)
@@ -301,6 +301,6 @@ add_definitions(-DGLEW_STATIC)
 blender_add_lib(bf_intern_ghost "${SRC}" "${INC}" "${INC_SYS}")
 
 # workaround for apple clang mangling extern "C" symbols
-if(WITH_INPUT_NDOF)
+if(WITH_INPUT_NDOF AND APPLE)
        blender_add_lib(bf_intern_ghostndof3dconnexion "${SRC_NDOF3DCONNEXION}" "${INC}" "${INC_SYS}")
 endif()