{"action":"closed","issue":{"url":"https://api.github.com/repos/sourcey/libsourcey/issues/160","repository_url":"https://api.github.com/repos/sourcey/libsourcey","labels_url":"https://api.github.com/repos/sourcey/libsourcey/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/sourcey/libsourcey/issues/160/comments","events_url":"https://api.github.com/repos/sourcey/libsourcey/issues/160/events","html_url":"https://github.com/sourcey/libsourcey/issues/160","id":237871595,"number":160,"title":"CMake cannot find custom WebRTC build","user":{"login":"artemiuzzz","id":11945954,"avatar_url":"https://avatars2.githubusercontent.com/u/11945954?v=3","gravatar_id":"","url":"https://api.github.com/users/artemiuzzz","html_url":"https://github.com/artemiuzzz","followers_url":"https://api.github.com/users/artemiuzzz/followers","following_url":"https://api.github.com/users/artemiuzzz/following{/other_user}","gists_url":"https://api.github.com/users/artemiuzzz/gists{/gist_id}","starred_url":"https://api.github.com/users/artemiuzzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemiuzzz/subscriptions","organizations_url":"https://api.github.com/users/artemiuzzz/orgs","repos_url":"https://api.github.com/users/artemiuzzz/repos","events_url":"https://api.github.com/users/artemiuzzz/events{/privacy}","received_events_url":"https://api.github.com/users/artemiuzzz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-06-22T14:48:40Z","updated_at":"2017-07-03T16:22:48Z","closed_at":"2017-07-03T16:22:48Z","body":"I built WebRTC in Gentoo with my own scripts, and trying to build with setting WEBRTC_ROOT_DIR, here it is:\r\n\r\n```\r\ncmake .. -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_SHARED_LIBS=OFF \\\r\n-DBUILD_APPLICATIONS=OFF -DBUILD_MODULES=OFF \\\r\n-DBUILD_SAMPLES=OFF -DBUILD_TESTS=ON \\\r\n-DBUILD_MODULE_base=ON -DBUILD_MODULE_crypto=ON \\\r\n-DBUILD_MODULE_http=ON -DBUILD_MODULE_json=ON \\\r\n-DBUILD_MODULE_av=ON -DBUILD_MODULE_net=ON \\\r\n-DBUILD_MODULE_socketio=ON -DBUILD_MODULE_stun=ON \\\r\n-DBUILD_MODULE_symple=ON -DBUILD_MODULE_turn=ON \\\r\n-DBUILD_MODULE_util=ON -DBUILD_MODULE_webrtc=ON \\\r\n-DWITH_WEBRTC=ON -DWEBRTC_ROOT_DIR=/home/artem/webrtc-checkout/src \\\r\n-DWITH_FFMPEG=OFF -DWITH_OPENCV=OFF \\\r\n-DBUILD_MODULE_archo=OFF -DBUILD_MODULE_pacm=OFF \\\r\n-DBUILD_MODULE_pluga=OFF -DBUILD_MODULE_sked=OFF\r\n\r\n...\r\n\r\n-- Could NOT find WEBRTC (missing:  WEBRTC_LIBRARIES) \r\nCMake Error at cmake/LibSourceyIncludes.cmake:72 (message):\r\n  Failed to include dependency: WebRTC.  Please build and install\r\n  dependencies before using CMake.\r\nCall Stack (most recent call first):\r\n  LibSourcey.cmake:243 (find_dependency)\r\n  CMakeLists.txt:35 (include)\r\n...\r\n```\r\nCommit 23e72cfd6c3e8369494fbf344433c64ecc255fe7\r\nCMake 3.5.2\r\n\r\nAnd it seems that commenting this line helps:\r\nhttps://github.com/sourcey/libsourcey/blob/master/cmake/FindWebRTC.cmake#L168"}}
{"actor":{"display_login":"auscaster"}}