{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/418","repository_url":"https://api.github.com/repos/aws/aws-sdk-cpp","labels_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/418/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/418/events","html_url":"https://github.com/aws/aws-sdk-cpp/issues/418","id":201689957,"number":418,"title":"CMake errors CMP0056 with CMake version 3.1.3","user":{"login":"josefernandez91","id":14926548,"avatar_url":"https://avatars.githubusercontent.com/u/14926548?v=3","gravatar_id":"","url":"https://api.github.com/users/josefernandez91","html_url":"https://github.com/josefernandez91","followers_url":"https://api.github.com/users/josefernandez91/followers","following_url":"https://api.github.com/users/josefernandez91/following{/other_user}","gists_url":"https://api.github.com/users/josefernandez91/gists{/gist_id}","starred_url":"https://api.github.com/users/josefernandez91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josefernandez91/subscriptions","organizations_url":"https://api.github.com/users/josefernandez91/orgs","repos_url":"https://api.github.com/users/josefernandez91/repos","events_url":"https://api.github.com/users/josefernandez91/events{/privacy}","received_events_url":"https://api.github.com/users/josefernandez91/received_events","type":"User","site_admin":false},"labels":[{"id":210264937,"url":"https://api.github.com/repos/aws/aws-sdk-cpp/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-01-18T20:56:16Z","updated_at":"2017-01-20T22:09:30Z","closed_at":"2017-01-20T17:27:05Z","body":"cmake -DCMAKE_BUILD_TYPE=Release /root/packages/BUILD/aws-sdk-cpp-1.0.51\r\n-- Found Git: /usr/bin/git (found version \"1.7.1\") \r\n-- TARGET_ARCH not specified; inferring host OS to be platform compilation target\r\n-- Building AWS libraries as shared objects\r\n-- Generating linux build config\r\n-- Building project version: 1.0.51\r\nCMake Error at CMakeLists.txt:88 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\n\r\n\r\n-- Found ZLIB: /usr/lib64/libz.so (found version \"1.2.3\") \r\n--   Zlib include directory: /usr/include\r\n--   Zlib library: /usr/lib64/libz.so\r\n-- Encryption: Openssl\r\n-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version \"1.0.1e\") \r\n--   Openssl include directory: /usr/include\r\n--   Openssl library: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so\r\n-- Http client: Curl\r\n-- Found CURL: /usr/lib64/libcurl.so (found version \"7.19.7\") \r\n--   Curl include directory: /usr/include\r\n--   Curl library: /usr/lib64/libcurl.so\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-acm/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-apigateway/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-autoscaling/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-appstream/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-budgets/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-cloudformation/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-cloudfront/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-cloudhsm/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-cloudsearch/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-cloudsearchdomain/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-cloudtrail/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-codebuild/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-codecommit/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-codedeploy/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-codepipeline/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-cognito-identity/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-cognito-sync/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-config/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-datapipeline/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-devicefarm/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-directconnect/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-dms/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-ds/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-dynamodb/CMakeLists.txt:1 (add_project)\r\n\r\n\r\nCMake Error at cmake/initialize_project_version.cmake:32 (cmake_policy):\r\n  Policy \"CMP0056\" is not known to this version of CMake.\r\nCall Stack (most recent call first):\r\n  aws-cpp-sdk-ec2/CMakeLists.txt:1 (add_project)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/comments/274193274","html_url":"https://github.com/aws/aws-sdk-cpp/issues/418#issuecomment-274193274","issue_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/418","id":274193274,"user":{"login":"josefernandez91","id":14926548,"avatar_url":"https://avatars.githubusercontent.com/u/14926548?v=3","gravatar_id":"","url":"https://api.github.com/users/josefernandez91","html_url":"https://github.com/josefernandez91","followers_url":"https://api.github.com/users/josefernandez91/followers","following_url":"https://api.github.com/users/josefernandez91/following{/other_user}","gists_url":"https://api.github.com/users/josefernandez91/gists{/gist_id}","starred_url":"https://api.github.com/users/josefernandez91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josefernandez91/subscriptions","organizations_url":"https://api.github.com/users/josefernandez91/orgs","repos_url":"https://api.github.com/users/josefernandez91/repos","events_url":"https://api.github.com/users/josefernandez91/events{/privacy}","received_events_url":"https://api.github.com/users/josefernandez91/received_events","type":"User","site_admin":false},"created_at":"2017-01-20T22:09:30Z","updated_at":"2017-01-20T22:09:30Z","body":"I downloaded the latest version but now I throw this error\r\n\r\n[  0%] [  0%] Building CXX object aws-cpp-sdk-core/CMakeFiles/aws-cpp-sdk-core.dir/source/AmazonStreamingWebServiceRequest.cpp.o\r\nBuilding CXX object aws-cpp-sdk-core/CMakeFiles/aws-cpp-sdk-core.dir/source/AmazonSerializableWebServiceRequest.cpp.o\r\ncc1plus: error: unrecognized command line option \"-std=c++11\"cc1plus: error: unrecognized command line option \"-std=c++11\"\r\n\r\nmake[3]: *** [aws-cpp-sdk-core/CMakeFiles/aws-cpp-sdk-core.dir/source/AmazonStreamingWebServiceRequest.cpp.o] Error 1\r\nmake[3]: *** Waiting for unfinished jobs....\r\nmake[3]: *** [aws-cpp-sdk-core/CMakeFiles/aws-cpp-sdk-core.dir/source/AmazonSerializableWebServiceRequest.cpp.o] Error 1\r\n"}}
{"actor":{"display_login":"josefernandez91"}}