瀏覽代碼

CPackRPM non matching ENDIF

Eric NOULARD 14 年之前
父節點
當前提交
7ebbcf19de
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Modules/CPackRPM.cmake

+ 1 - 1
Modules/CPackRPM.cmake

@@ -651,7 +651,7 @@ IF(RPMBUILD_EXECUTABLE)
     MESSAGE("CPackRPM:Debug: *** ${RPMBUILDERR} ***")
     MESSAGE("CPackRPM:Debug:    - ${CPACK_TOPLEVEL_DIRECTORY}/rpmbuild${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.out")
     MESSAGE("CPackRPM:Debug: *** ${RPMBUILDERR} ***")
-  ENDIF(CPACK_RPM_PACKAGE_DEBUG)
+  ENDIF(CPACK_RPM_PACKAGE_DEBUG OR CPACK_RPMBUILD_EXEC_RESULT)
 ELSE(RPMBUILD_EXECUTABLE)
   IF(ALIEN_EXECUTABLE)
     MESSAGE(FATAL_ERROR "RPM packaging through alien not done (yet)")