Ver Fonte

Precise the project config type when invoking cpack

Eric NOULARD há 15 anos atrás
pai
commit
cdf92c952a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake

+ 1 - 1
Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake

@@ -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