diff --git a/src/osgViewer/CMakeLists.txt b/src/osgViewer/CMakeLists.txt index 76d323525..1c70e41e8 100644 --- a/src/osgViewer/CMakeLists.txt +++ b/src/osgViewer/CMakeLists.txt @@ -135,6 +135,7 @@ ELSE() ) SET(LIB_EXTRA_LIBS ${COCOA_LIBRARY} ${LIB_EXTRA_LIBS}) + SET(LIB_EXTRA_LIBS ${LIB_EXTRA_LIBS} "-framework AGL") ELSEIF(${OSG_WINDOWING_SYSTEM} STREQUAL "IOS")