diff --git a/script/prepare_externals.bat b/script/prepare_externals.bat index c41d463..ca54313 100755 --- a/script/prepare_externals.bat +++ b/script/prepare_externals.bat @@ -126,7 +126,7 @@ cd "%CC_ASN1_COMMSDSL_SRC_DIR%" echo "Building cc.asn1.commsdsl ..." mkdir "%CC_ASN1_COMMSDSL_BUILD_DIR%" cd %CC_ASN1_COMMSDSL_BUILD_DIR% -cmake -G %GENERATOR% %PLATFORM_PARAM% -S %CC_ASN1_COMMSDSL_SRC_DIR% -B %CC_ASN1_COMMSDSL_BUILD_DIR% ^ +cmake %GENERATOR_PARAM% %PLATFORM_PARAM% -S %CC_ASN1_COMMSDSL_SRC_DIR% -B %CC_ASN1_COMMSDSL_BUILD_DIR% ^ -DCMAKE_INSTALL_PREFIX=%CC_ASN1_COMMSDSL_INSTALL_DIR% -DCMAKE_BUILD_TYPE=%COMMON_BUILD_TYPE% ^ -DCMAKE_CXX_STANDARD=%COMMON_CXX_STANDARD% if %errorlevel% neq 0 exit /b %errorlevel%