{"action":"created","issue":{"url":"https://api.github.com/repos/cdcseacave/openMVS/issues/87","repository_url":"https://api.github.com/repos/cdcseacave/openMVS","labels_url":"https://api.github.com/repos/cdcseacave/openMVS/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/cdcseacave/openMVS/issues/87/comments","events_url":"https://api.github.com/repos/cdcseacave/openMVS/issues/87/events","html_url":"https://github.com/cdcseacave/openMVS/issues/87","id":152943671,"number":87,"title":"CERES CMake script suggested changes","user":{"login":"KevinCain","id":5424003,"avatar_url":"https://avatars.githubusercontent.com/u/5424003?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinCain","html_url":"https://github.com/KevinCain","followers_url":"https://api.github.com/users/KevinCain/followers","following_url":"https://api.github.com/users/KevinCain/following{/other_user}","gists_url":"https://api.github.com/users/KevinCain/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinCain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinCain/subscriptions","organizations_url":"https://api.github.com/users/KevinCain/orgs","repos_url":"https://api.github.com/users/KevinCain/repos","events_url":"https://api.github.com/users/KevinCain/events{/privacy}","received_events_url":"https://api.github.com/users/KevinCain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-05-04T07:11:43Z","updated_at":"2016-05-04T09:18:51Z","closed_at":null,"body":"For Ceres >= 1.8, OpenMVS should adapt FindCERES.cmake script, according to Alex in the Ceres Google Group (see:  https://groups.google.com/forum/#!topic/ceres-solver/VbiqrQK3FNo):\r\n\r\nThe following changes are in my fork of OpenMVS (https://github.com/KevinCain/openMVS/tree/master); I will issue a pull request if useful:\r\n\r\n1) Remove build/Modules/FindCERES.cmake\r\n\r\nhttps://github.com/cdcseacave/openMVS/blob/d062feb7e3cfb6eddd88cd0ef4a411c752259673/build/Modules/FindCERES.cmake\r\n\r\n2) Replace lines 15-19 here:\r\n\r\nhttps://github.com/cdcseacave/openMVS/blob/9d67937336a6ab6fe081fcba40b3dfc6d1eb9a7a/libs/MVS/CMakeLists.txt#L15-L19\r\n\r\nwith this:\r\n\r\nfind_package(Ceres)\r\nif (Ceres_FOUND)\r\n   include_directories( ${CERES_INCLUDE_DIRS} )\r\nendif()\r\n\r\n3) Replace line 40 here:\r\n\r\nhttps://github.com/cdcseacave/openMVS/blob/9d67937336a6ab6fe081fcba40b3dfc6d1eb9a7a/libs/MVS/CMakeLists.txt#L40\r\n\r\nwith this:\r\n\r\ntarget_link_libraries(MVS Common Math IO ${CERES_LIBRARIES} ${CGAL_LIBS} ${CUDA_LIBRARIES})"},"comment":{"url":"https://api.github.com/repos/cdcseacave/openMVS/issues/comments/216808004","html_url":"https://github.com/cdcseacave/openMVS/issues/87#issuecomment-216808004","issue_url":"https://api.github.com/repos/cdcseacave/openMVS/issues/87","id":216808004,"user":{"login":"cdcseacave","id":2802670,"avatar_url":"https://avatars.githubusercontent.com/u/2802670?v=3","gravatar_id":"","url":"https://api.github.com/users/cdcseacave","html_url":"https://github.com/cdcseacave","followers_url":"https://api.github.com/users/cdcseacave/followers","following_url":"https://api.github.com/users/cdcseacave/following{/other_user}","gists_url":"https://api.github.com/users/cdcseacave/gists{/gist_id}","starred_url":"https://api.github.com/users/cdcseacave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdcseacave/subscriptions","organizations_url":"https://api.github.com/users/cdcseacave/orgs","repos_url":"https://api.github.com/users/cdcseacave/repos","events_url":"https://api.github.com/users/cdcseacave/events{/privacy}","received_events_url":"https://api.github.com/users/cdcseacave/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T09:18:51Z","updated_at":"2016-05-04T09:18:51Z","body":"@pmoulon that works, my point in the previous post was different though"}}