Ticket #58450: patch-fix-cmake-prefix-path.diff

File patch-fix-cmake-prefix-path.diff, 661 bytes (added by michaelld (Michael Dickens), 6 years ago)
  • Darwin.cmake

    old new  
    219219  ${_apps_paths})
    220220unset(_apps_paths)
    221221
     222list(APPEND CMAKE_SYSTEM_PREFIX_PATH
     223  /opt/local # MacPorts
     224)
     225
    222226include(Platform/UnixPaths)
    223227if(_CMAKE_OSX_SYSROOT_PATH AND EXISTS ${_CMAKE_OSX_SYSROOT_PATH}/usr/include)
    224228  list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${_CMAKE_OSX_SYSROOT_PATH}/usr)
     
    226230    list(APPEND _CMAKE_${lang}_IMPLICIT_INCLUDE_DIRECTORIES_INIT ${_CMAKE_OSX_SYSROOT_PATH}/usr/include)
    227231  endforeach()
    228232endif()
    229 list(APPEND CMAKE_SYSTEM_PREFIX_PATH
    230   /sw        # Fink
    231   /opt/local # MacPorts
    232   )