The following issue has been SUBMITTED. ====================================================================== https://public.kitware.com/Bug/view.php?id=15816 ====================================================================== Reported By: Nicolas François Assigned To: ====================================================================== Project: CMake Issue ID: 15816 Category: CPack Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2015-10-28 07:17 EDT Last Modified: 2015-10-28 07:17 EDT ====================================================================== Summary: When setting CMAKE_OSX_SYSROOT to macosx, CPack fails Description: On 10.11.1 and building against deployment target 10.9, the CMAKE_OSX_DEPLOYMENT_TARGET must be set to 10.9 and so CMAKE_OSX_SYSROOT to avoid the warning message from CMake. Setting CMAKE_OSX_SYSROOT to macosx allows to select the latest SDK. The compilation works and everything is fine.
But CPack fails because of the CPACK_OSX_SYSROOT variable set to CMAKE_OSX_SYSROOT, hence macosx; instead of being set to _CMAKE_OSX_SYSROOT_PATH which is the transformed variable in Darwin-Initialize.cmake. Additional Information: Still in 3.4.0-rc2 ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-10-28 07:17 Nicolas FrançoisNew Issue ====================================================================== -- 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: http://public.kitware.com/mailman/listinfo/cmake-developers