-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
What platform/OS are you using?
Ubuntu 14.04
What compiler are you using? what version?
gcc 4.8.4
cmake version 3.8.2
What's your CMake arguments?
set(cmake_args -DCMAKE_INSTALL_PREFIX=${AMAZON_SDK_INSTALLATION_PATH})
include(ExternalProject)
ExternalProject_Add(amazonSdk
GIT_REPOSITORY "https://github.com/aws/aws-sdk-cpp.git"
GIT_TAG "1.4.15"
CMAKE_ARGS -DBUILD_ONLY=\\\"s3;email\\\" LOG_CONFIGURE 1 ${cmake_args}
PREFIX "${AMAZON_SDK_PATH}"
)
Can you provide a TRACE level log? (sanitize any sensitive information)
[ 23%] Performing update step for 'amazonSdk'
[ 29%] Performing configure step for 'amazonSdk'
CMake Error at /home/pguillamon/sample-repo/build/src/3rdPartyDependencies/amazonSdk/src/amazonSdk-stamp/amazonSdk-configure-.cmake:16 (message):
Command failed: 1
'/usr/local/bin/cmake' '-DBUILD_ONLY="s3' 'email"' '-GUnix Makefiles' '/home/pguillamon/sample-repo/build/src/3rdPartyDependencies/amazonSdk/src/amazonSdk'
See also
/home/pguillamon/sample-repo/build/src/3rdPartyDependencies/amazonSdk/src/amazonSdk-stamp/amazonSdk-configure-*.log
make[2]: *** [src/3rdPartyDependencies/amazonSdk/src/amazonSdk-stamp/amazonSdk-configure] Error 1
Note the parameter -DBUILD_ONLY="s3;email"
has been splitted into two parameters: -DBUILD_ONLY="s3
and email"
. This is because the script amazonSdk-configure-.cmake
generated by cmake uses ;
(semicolon) as character separator. It is generated as follows:
set(command "/usr/local/bin/cmake;-DBUILD_ONLY=\"email;s3\";-GUnix Makefiles;/home/pguillamon/sample-repo/build/src/3rdPartyDependencies/amazonSdk/src/amazonSdk")
execute_process(
COMMAND ${command}
...
Metadata
Metadata
Assignees
Labels
No labels