Le ven. 22 mars 2019 à 18:30, Stewart, Robert <robert.stew...@sig.com> a écrit :
> Have a look at the code I quoted from CPackRPM.cmake: > > if(CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE OR NOT > CPACK_RPM_USER_BINARY_SPECFILE) > set(RPMBUILD_FLAGS "-bb") > > If CPACK_RPM_USER_BINARY_SPECFILE is defined, then RPMBUILD_FLAGS is *not* > set to -bb. > Sorry I missed your last answer. My link to up-to-date code: https://gitlab.kitware.com/cmake/cmake/blob/master/Modules/Internal/CPack/CPackRPM.cmake#L1658 shows that "-bb" is always set. This was fixed some time ago: https://gitlab.kitware.com/cmake/cmake/commit/574c81e28cef6737adc1619ce3b44b43bdcf308b CMake 3.8.0 and after should include this fix. -- Eric
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake