Skip to content

Commit

Permalink
CI: avoid empty cmake argument if GENERATOR unset
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Boasson <[email protected]>
  • Loading branch information
eboasson committed Mar 6, 2024
1 parent 47b9c1c commit 3175973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure/templates/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ steps:
-DBUILD_IDLC_XTESTS=${IDLC_XTESTS:-on} \
-DBUILD_EXAMPLES=on \
-DWERROR=on \
${GENERATOR:+-G} "${GENERATOR}" -A "${PLATFORM}" -T "${TOOLSET}" ..
${GENERATOR:+-G}${GENERATOR} -A "${PLATFORM}" -T "${TOOLSET}" ..
${SCAN_BUILD} cmake --build . --config ${BUILD_TYPE} --target install -- ${BUILD_TOOL_OPTIONS}
cmake --build . --config ${BUILD_TYPE} --target package -- ${BUILD_TOOL_OPTIONS}
name: script
Expand Down

0 comments on commit 3175973

Please sign in to comment.