Precise the project config type when invoking cpack
This commit is contained in:
parent
08f829b509
commit
cdf92c952a
|
@ -25,7 +25,7 @@ set(expected_file_mask "")
|
||||||
# CPACK_COMPONENT_xxx values
|
# CPACK_COMPONENT_xxx values
|
||||||
set(expected_count 1)
|
set(expected_count 1)
|
||||||
|
|
||||||
execute_process(COMMAND ${CPackCommand} -G ${CPackGen}
|
execute_process(COMMAND ${CPackCommand} -G ${CPackGen} -C Release
|
||||||
RESULT_VARIABLE CPack_result
|
RESULT_VARIABLE CPack_result
|
||||||
OUTPUT_VARIABLE CPack_output
|
OUTPUT_VARIABLE CPack_output
|
||||||
ERROR_VARIABLE CPack_error
|
ERROR_VARIABLE CPack_error
|
||||||
|
|
Loading…
Reference in New Issue