Skip to content
Snippets Groups Projects
Forked from CMake / CMake
Source project has a limited visibility.
  • Brad King's avatar
    bf5a5bc8
    bootstrap: Do not suppress CMAKE_OSX_SYSROOT if CFLAGS have -isysroot (#14324) · bf5a5bc8
    Brad King authored
    Revert commit a1c032b9 (bootstrap: Suppress CMAKE_OSX_SYSROOT if CFLAGS
    have -isysroot, 2012-09-21).  If MACOSX_DEPLOYMENT_TARGET is set then
    CMAKE_OSX_DEPLOYMENT_TARGET will be set and Darwin.cmake will complain
    if no CMAKE_OSX_SYSROOT is set.  Just allow both -isysroot flags to
    appear.  The one generated by CMAKE_OSX_SYSROOT appears after and
    overrides the one from CFLAGS/CXXFLAGS.
    bf5a5bc8
    History
    bootstrap: Do not suppress CMAKE_OSX_SYSROOT if CFLAGS have -isysroot (#14324)
    Brad King authored
    Revert commit a1c032b9 (bootstrap: Suppress CMAKE_OSX_SYSROOT if CFLAGS
    have -isysroot, 2012-09-21).  If MACOSX_DEPLOYMENT_TARGET is set then
    CMAKE_OSX_DEPLOYMENT_TARGET will be set and Darwin.cmake will complain
    if no CMAKE_OSX_SYSROOT is set.  Just allow both -isysroot flags to
    appear.  The one generated by CMAKE_OSX_SYSROOT appears after and
    overrides the one from CFLAGS/CXXFLAGS.