{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4908","repository_url":"https://api.github.com/repos/Microsoft/vcpkg","labels_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4908/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4908/comments","events_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4908/events","html_url":"https://github.com/Microsoft/vcpkg/issues/4908","id":387926822,"node_id":"MDU6SXNzdWUzODc5MjY4MjI=","number":4908,"title":"How to make a 64bit build of some cmake project?","user":{"login":"fferri","id":5294568,"node_id":"MDQ6VXNlcjUyOTQ1Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/5294568?v=4","gravatar_id":"","url":"https://api.github.com/users/fferri","html_url":"https://github.com/fferri","followers_url":"https://api.github.com/users/fferri/followers","following_url":"https://api.github.com/users/fferri/following{/other_user}","gists_url":"https://api.github.com/users/fferri/gists{/gist_id}","starred_url":"https://api.github.com/users/fferri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fferri/subscriptions","organizations_url":"https://api.github.com/users/fferri/orgs","repos_url":"https://api.github.com/users/fferri/repos","events_url":"https://api.github.com/users/fferri/events{/privacy}","received_events_url":"https://api.github.com/users/fferri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T20:14:18Z","updated_at":"2018-12-05T20:14:18Z","closed_at":null,"author_association":"NONE","body":"I have some cmake project using some 3rd party library (available as a vcpkg package), say zeromq.\r\n\r\nI installed the x64 version of it (`vcpkg install zeromq:x64-windows`), and if I go to build my project, it complains about zeromq not available:\r\n\r\n```\r\nC:\\Development\\myproject\\build> cmake -DCMAKE_TOOLCHAIN_FILE=C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake ..\r\n...\r\nCMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:247 (_find_package):\r\n  Could not find a configuration file for package \"ZeroMQ\" that is compatible\r\n  with requested version \"\".\r\n\r\n  The following configuration files were considered but not accepted:\r\n\r\n    C:/vcpkg/installed/x64-windows/share/zeromq/ZeroMQConfig.cmake, version: 4.3.1 (64bit)\r\n```\r\n\r\nSo I tryed to specify the `VCPKG_TARGET_TRIPLET`, but I get this result:\r\n\r\n```\r\nC:\\Development\\myproject\\build> cmake -DCMAKE_TOOLCHAIN_FILE=C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows ..\r\n...\r\nCMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:247 (_find_package):\r\n  Could not find a configuration file for package \"ZeroMQ\" that is compatible\r\n  with requested version \"\".\r\n\r\n  The following configuration files were considered but not accepted:\r\n\r\n    C:/vcpkg/installed/x64-windows/share/zeromq/ZeroMQConfig.cmake, version: 4.3.1 (64bit)\r\n```\r\n\r\nWhat is the proper way to build a project in 64 bit mode via cmake?"}}
{"actor":{"display_login":"fferri"}}