Преглед на файлове

BUG: 7435, remove warning for not setting DESTDIR

Bill Hoffman преди 17 години
родител
ревизия
924fae24cf
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0 5
      Modules/CPackRPM.cmake

+ 0 - 5
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