OSX/cmake: fix ndof compile
authorJens Verwiebe <info@jensverwiebe.de>
Wed, 12 Dec 2012 18:31:19 +0000 (18:31 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Wed, 12 Dec 2012 18:31:19 +0000 (18:31 +0000)
CMakeLists.txt

index 3e1c8fe..7433d72 100644 (file)
@@ -1521,7 +1521,8 @@ elseif(APPLE)
                        endif()
 
                        if(WITH_INPUT_NDOF)
-                               set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -weak_framework 3DconnexionClient")
+                               set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -F/Library/Frameworks -weak_framework 3DconnexionClient")
+                               set(NDOF_INCLUDE_DIRS /Library/Frameworks/3DconnexionClient.framework )
                        endif()
                endif()