summaryrefslogtreecommitdiffstats
path: root/Modules/CPackRPM.cmake
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2011-03-10 17:32:47 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2011-03-10 17:32:47 (GMT)
commit7ebbcf19deacf0e894496d5bda1661142bd94702 (patch)
tree050cc3aa3e6c1dec75e22439a0b8db891522e417 /Modules/CPackRPM.cmake
parent0e07b425cad4b608e44846a08ba9ee4ae05828d5 (diff)
downloadCMake-7ebbcf19deacf0e894496d5bda1661142bd94702.zip
CMake-7ebbcf19deacf0e894496d5bda1661142bd94702.tar.gz
CMake-7ebbcf19deacf0e894496d5bda1661142bd94702.tar.bz2
CPackRPM non matching ENDIF
Diffstat (limited to 'Modules/CPackRPM.cmake')
-rw-r--r--Modules/CPackRPM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index 255ad9a..26209a7 100644
--- a/Modules/CPackRPM.cmake
+++ b/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)")