{"comment":{"url":"https://api.github.com/repos/McNopper/GLUS/comments/11371420","html_url":"https://github.com/McNopper/GLUS/commit/05dc492d9ad9afff2717e957c4e561f9b740f3c2#commitcomment-11371420","id":11371420,"user":{"login":"nyotis","id":658719,"avatar_url":"https://avatars.githubusercontent.com/u/658719?v=3","gravatar_id":"","url":"https://api.github.com/users/nyotis","html_url":"https://github.com/nyotis","followers_url":"https://api.github.com/users/nyotis/followers","following_url":"https://api.github.com/users/nyotis/following{/other_user}","gists_url":"https://api.github.com/users/nyotis/gists{/gist_id}","starred_url":"https://api.github.com/users/nyotis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyotis/subscriptions","organizations_url":"https://api.github.com/users/nyotis/orgs","repos_url":"https://api.github.com/users/nyotis/repos","events_url":"https://api.github.com/users/nyotis/events{/privacy}","received_events_url":"https://api.github.com/users/nyotis/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"05dc492d9ad9afff2717e957c4e561f9b740f3c2","created_at":"2015-05-26T19:15:18Z","updated_at":"2015-05-26T19:15:18Z","body":"@severin-lemaignan @McNopper i fixed this by tweaking CMakeLists.txt\r\n```\r\nfind_package(GLEW REQUIRED)\r\nfind_package(GLFW REQUIRED)\r\n#find_package(PkgConfig)\r\n#pkg_search_module(GLFW REQUIRED glfw3)\r\n```\r\nadding the file glfwConfig.cmake under dir GLUS\r\n\r\n```\r\n# - Config file for the glfw package\r\n# It defines the following variables\r\n#   GLFW_INCLUDE_DIR, the path where GLFW headers are located\r\n#   GLFW_LIBRARY_DIR, folder in which the GLFW library is located\r\n#   GLFW_LIBRARY, library to link against to use GLFW\r\n\r\nset(GLFW_INCLUDE_DIR \"/usr/local/include\")\r\nset(GLFW_LIBRARY_DIR \"/usr/local/lib\")\r\n\r\nfind_library(GLFW_LIBRARY \"glfw3\" HINTS ${GLFW_LIBRARY_DIR})\r\n```\r\nand variable GLFW_DIR in cmake gui pointing to the GLUS path. As i said, i am using homebrew, which by default installs stuff at /usr/local. I want to build examples with xcode, not with eclipse. For now, I am getting a linking error due to GLEW - GLEW is irrelevant on mac.  \r\n "}}