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 219 219 ${_apps_paths}) 220 220 unset(_apps_paths) 221 221 222 list(APPEND CMAKE_SYSTEM_PREFIX_PATH 223 /opt/local # MacPorts 224 ) 225 222 226 include(Platform/UnixPaths) 223 227 if(_CMAKE_OSX_SYSROOT_PATH AND EXISTS ${_CMAKE_OSX_SYSROOT_PATH}/usr/include) 224 228 list(APPEND CMAKE_SYSTEM_PREFIX_PATH ${_CMAKE_OSX_SYSROOT_PATH}/usr) … … 226 230 list(APPEND _CMAKE_${lang}_IMPLICIT_INCLUDE_DIRECTORIES_INIT ${_CMAKE_OSX_SYSROOT_PATH}/usr/include) 227 231 endforeach() 228 232 endif() 229 list(APPEND CMAKE_SYSTEM_PREFIX_PATH230 /sw # Fink231 /opt/local # MacPorts232 )