+target_link_libraries(SimGearCore
+ ${ZLIB_LIBRARY}
+ ${RT_LIBRARY}
+ ${DL_LIBRARY}
+ ${EXPAT_LIBRARIES}
+ ${CMAKE_THREAD_LIBS_INIT}
+ ${COCOA_LIBRARY})
+
+if(NOT SIMGEAR_HEADLESS)
+ target_link_libraries(SimGearScene
+ SimGearCore
+ ${ZLIB_LIBRARY}
+ ${OPENSCENEGRAPH_LIBRARIES}
+ ${OPENAL_LIBRARY}
+ ${OPENGL_LIBRARY}
+ ${JPEG_LIBRARY})
+endif()
+