Precise the project config type when invoking cpack

This commit is contained in:
Eric NOULARD 2010-12-12 22:45:48 +01:00 committed by Bill Hoffman
parent 08f829b509
commit cdf92c952a
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ set(expected_file_mask "")
# CPACK_COMPONENT_xxx values
set(expected_count 1)
execute_process(COMMAND ${CPackCommand} -G ${CPackGen}
execute_process(COMMAND ${CPackCommand} -G ${CPackGen} -C Release
RESULT_VARIABLE CPack_result
OUTPUT_VARIABLE CPack_output
ERROR_VARIABLE CPack_error