Explorar o código

CPackRPM non matching ENDIF

Eric NOULARD %!s(int64=14) %!d(string=hai) anos
pai
achega
7ebbcf19de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)")