fix for building ndof with cmake on osx

This commit is contained in:
Campbell Barton 2011-08-07 15:06:35 +00:00
parent 0dea4df764
commit bf23acf3bb
1 changed files with 4 additions and 0 deletions

View File

@ -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()