Skip to content

Commit

Permalink
Fixed paths for 3Dconnexion headers on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Rees authored and ianrrees committed Dec 19, 2015
1 parent 5b750aa commit bdc5197
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Gui/CMakeLists.txt
Expand Up @@ -12,7 +12,8 @@ if (FREECAD_USE_3DCONNEXION)
add_definitions(-D_USE_3DCONNEXION_SDK)
if(APPLE)
set(3DCONNEXION_LINKFLAGS "-F/Library/Frameworks -weak_framework 3DconnexionClient")
set(3DCONNEXION_INCLUDE_DIR ${3DCONNEXIONCLIENT_FRAMEWORK}/Headers )
set(3DCONNEXION_INCLUDE_DIR ${3DCONNEXIONCLIENT_FRAMEWORK}/Headers
${3DCONNEXIONCLIENT_FRAMEWORK}/Headers/3DconnexionClient )
endif(APPLE)
endif(FREECAD_USE_3DCONNEXION)

Expand Down
2 changes: 1 addition & 1 deletion src/Gui/GuiApplicationNativeEventAware.h
Expand Up @@ -45,7 +45,7 @@ class QMainWindow;

#ifdef Q_WS_MACX
#include <IOKit/IOKitLib.h>
#include <3DconnexionClient/ConnexionClientAPI.h>
#include <ConnexionClientAPI.h>
extern OSErr InstallConnexionHandlers(ConnexionMessageHandlerProc messageHandler, ConnexionAddedHandlerProc addedHandler, ConnexionRemovedHandlerProc removedHandler)
__attribute__((weak_import));
extern UInt16 RegisterConnexionClient(UInt32 signature, UInt8 *name, UInt16 mode, UInt32 mask) __attribute__((weak_import));
Expand Down

0 comments on commit bdc5197

Please sign in to comment.