{"action":"created","issue":{"url":"https://api.github.com/repos/uaf/uaf/issues/109","repository_url":"https://api.github.com/repos/uaf/uaf","labels_url":"https://api.github.com/repos/uaf/uaf/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/uaf/uaf/issues/109/comments","events_url":"https://api.github.com/repos/uaf/uaf/issues/109/events","html_url":"https://github.com/uaf/uaf/issues/109","id":150802869,"number":109,"title":"Changing pythonversion in Cmake","user":{"login":"jorrita","id":11936479,"avatar_url":"https://avatars.githubusercontent.com/u/11936479?v=3","gravatar_id":"","url":"https://api.github.com/users/jorrita","html_url":"https://github.com/jorrita","followers_url":"https://api.github.com/users/jorrita/followers","following_url":"https://api.github.com/users/jorrita/following{/other_user}","gists_url":"https://api.github.com/users/jorrita/gists{/gist_id}","starred_url":"https://api.github.com/users/jorrita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorrita/subscriptions","organizations_url":"https://api.github.com/users/jorrita/orgs","repos_url":"https://api.github.com/users/jorrita/repos","events_url":"https://api.github.com/users/jorrita/events{/privacy}","received_events_url":"https://api.github.com/users/jorrita/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-25T09:34:42Z","updated_at":"2016-04-25T17:31:16Z","closed_at":null,"body":"This is not a bug, but for future reference:\r\n```\r\n find_package( PythonLibs )\r\n```\r\nin src/UafMacros.cmake finds python3.x if multiple versions of python are installed.\r\nIf you want to force using python2.7, you can explicitly request that version by changing the aforementioned line to:\r\n```\r\nfind_package(PythonLibs 2.7 REQUIRED)\r\n```\r\n\r\nThere may be a more elegant method to accomplish this."},"comment":{"url":"https://api.github.com/repos/uaf/uaf/issues/comments/214451367","html_url":"https://github.com/uaf/uaf/issues/109#issuecomment-214451367","issue_url":"https://api.github.com/repos/uaf/uaf/issues/109","id":214451367,"user":{"login":"WimPessemier","id":2665698,"avatar_url":"https://avatars.githubusercontent.com/u/2665698?v=3","gravatar_id":"","url":"https://api.github.com/users/WimPessemier","html_url":"https://github.com/WimPessemier","followers_url":"https://api.github.com/users/WimPessemier/followers","following_url":"https://api.github.com/users/WimPessemier/following{/other_user}","gists_url":"https://api.github.com/users/WimPessemier/gists{/gist_id}","starred_url":"https://api.github.com/users/WimPessemier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WimPessemier/subscriptions","organizations_url":"https://api.github.com/users/WimPessemier/orgs","repos_url":"https://api.github.com/users/WimPessemier/repos","events_url":"https://api.github.com/users/WimPessemier/events{/privacy}","received_events_url":"https://api.github.com/users/WimPessemier/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T17:31:15Z","updated_at":"2016-04-25T17:31:15Z","body":"Okay thanks! Perhaps I can add a CMake flag for it, something like -DFIND_PYTHON_VERSION=x.y.\r\n\r\nAlso something for the to-do list is the compatibility with python 3."}}