Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7417

Check for OPENGL_LIBRARIES if building on OSX without Cocoa

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.06/00, 6.04/02
    • Fix Version/s: 6.14/00
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      OS X 10.10 + Apple Clang 6.1.0 + latest XQuartz.

      Description

      We are building ROOT 6.04.00+ on OSX without Cocoa support and instead going for X11.

      OPENGL_GLU_FOUND and OPENGL_LIBRARIES is only set if find_package(OpenGL) is used. Check better for OPENGL_LIBRARIES, which is set by both if-statement paths.

      Patch attached.

        Attachments

          Activity

            People

            Assignee:
            mato Pere Mato Vila
            Reporter:
            davidlt David Abdurachmanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: