From bf23acf3bb8ae43e6a50108a00e7572fe35edea4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 7 Aug 2011 15:06:35 +0000 Subject: fix for building ndof with cmake on osx --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') 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() -- cgit v1.2.3