CMake options -Wno-dev does not work on CPackRPM
CMake options already has the -Wno-dev set:
CMakeCache.txt //Suppress errors that are meant for the author of the CMakeLists.txt // files. CMAKE_SUPPRESS_DEVELOPER_ERRORS:INTERNAL=TRUE //Suppress Warnings that are meant for the author of the CMakeLists.txt // files. CMAKE_SUPPRESS_DEVELOPER_WARNINGS:INTERNAL=TRUE
However, the warning still appears:
CMake Warning (dev) at /toolchain/cmake-3.11.0-Linux-x86_64/share/cmake-3.11/Modules/CPackRPM.cmake:1085 (message): CPackRPM:Warning: Path a.bin is not on one of the relocatable paths! Package will be partially relocatable. Call Stack (most recent call first): /toolchain/cmake-3.11.0-Linux-x86_64/share/cmake-3.11/Modules/CPackRPM.cmake:1947 (cpack_rpm_prepare_relocation_paths) /toolchain/cmake-3.11.0-Linux-x86_64/share/cmake-3.11/Modules/CPackRPM.cmake:2816 (cpack_rpm_generate_package) This warning is for project developers. Use -Wno-dev to suppress it.
cmake version 3.11.0