Ticket #32302: patch-OgreMain_CMakeLists.txt.diff

File patch-OgreMain_CMakeLists.txt.diff, 598 bytes (added by marin.saric@…, 13 years ago)
  • OgreMain/CMakeLists.txt

    old new  
    535535    set(PLATFORM_LIBS ${Carbon_LIBRARY_FWK} ${Cocoa_LIBRARY_FWK})
    536536    set(PLATFORM_HEADER_INSTALL "OSX")
    537537  endif ()
     538  if (MACPORTS)
     539    # If the MacPorts port of FreeType is found on MacOS X, it has a hidden
     540    # dependency on libbzip2
     541    find_package(BZip2 REQUIRED)
     542    list(APPEND FREETYPE_LIBRARIES ${BZIP2_LIBRARIES})
     543  endif ()
    538544elseif (UNIX)
    539545  include_directories(include/GLX ${X11_INCLUDE_DIR})
    540546  set(PLATFORM_HEADER_FILES