diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-09-22 13:56:24 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-09-22 13:56:24 (GMT) |
commit | 924fae24cf997707455e687eae55b481008d98e6 (patch) | |
tree | 2af1bf919d1528f09f25cb82b257db61168638c2 /Modules | |
parent | 85961d44c36d8b83d6cfd4dbaef127e970b60a54 (diff) | |
download | CMake-924fae24cf997707455e687eae55b481008d98e6.zip CMake-924fae24cf997707455e687eae55b481008d98e6.tar.gz CMake-924fae24cf997707455e687eae55b481008d98e6.tar.bz2 |
BUG: 7435, remove warning for not setting DESTDIR
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CPackRPM.cmake | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake index c9985da..e441e69 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 |