diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-07 19:06:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-07 19:06:35 +0400 |
commit | bf23acf3bb8ae43e6a50108a00e7572fe35edea4 (patch) | |
tree | f96cfe94097bc527fc5cf72da713ef844d6b9b73 /CMakeLists.txt | |
parent | 0dea4df76442ffce1e0e7162fab103f6cca99b12 (diff) |
fix for building ndof with cmake on osx
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a0a0359d8d7..cf083b87bc7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1010,6 +1010,10 @@ elseif(APPLE) if(NOT 3D_CONNEXION_CLIENT_LIBRARY) set(WITH_INPUT_NDOF OFF) endif() + + if(WITH_INPUT_NDOF) + set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -weak_framework 3DconnexionClient") + endif() endif() else() |