message: find CoreFoundation on OS X for gl3w
diff: @@ -25,4 +25,10 @@ include_directories(${CMAKE_CURRENT_LIST_DIR})
  add_library(${LIB_NAME} SHARED gl3w.c)
  -target_link_libraries(${LIB_NAME} ${OPENGL_LIBRARIES})
  +set(DEPENDENCIES ${OPENGL_LIBRARIES})
  +if (APPLE)
  + find_library(COREFOUNDATION_LIBRARY CoreFoundation)
  + set(DEPENDENCIES "${DEPENDENCIES} ${COREFOUNDATION_LIBRARY}")
  +endif()
  +
  +target_link_libraries(${LIB_NAME} ${DEPENDENCIES})
  