From 924fae24cf997707455e687eae55b481008d98e6 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 22 Sep 2008 09:56:24 -0400 Subject: [PATCH] BUG: 7435, remove warning for not setting DESTDIR --- Modules/CPackRPM.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake index c9985da23..e441e69ea 100644 --- a/Modules/CPackRPM.cmake +++ b/Modules/CPackRPM.cmake @@ -25,11 +25,6 @@ IF(CPACK_TOPLEVEL_DIRECTORY MATCHES ".* .*") MESSAGE(FATAL_ERROR "${RPMBUILD_EXECUTABLE} can't handle paths with spaces, use a build directory without spaces for building RPMs.") ENDIF(CPACK_TOPLEVEL_DIRECTORY MATCHES ".* .*") -IF(NOT CPACK_SET_DESTDIR) - MESSAGE("CPackRPM:Warning: You did not set CPACK_SET_DESTDIR to ON") - MESSAGE("CPackRPM:Warning: this will make CPackRPM fail if you have installed files with absolute path") -ENDIF(NOT CPACK_SET_DESTDIR) - # If rpmbuild is found # we try to discover alien since we may be on non RPM distro like Debian. # In this case we may try to to use more advanced features