From 9f8578040544c8709e5f2ae6a3d1b8262bc8f6a5 Mon Sep 17 00:00:00 2001 From: Jonas Rembser Date: Tue, 18 Nov 2025 14:37:10 +0100 Subject: [PATCH] Remove unused dependency of TGCocoa on glew This is part of the glew replacement campaign. --- graf2d/cocoa/CMakeLists.txt | 1 - graf2d/cocoa/src/TGCocoa.mm | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/graf2d/cocoa/CMakeLists.txt b/graf2d/cocoa/CMakeLists.txt index 28d6097fb6e23..a1c7db7a14d77 100644 --- a/graf2d/cocoa/CMakeLists.txt +++ b/graf2d/cocoa/CMakeLists.txt @@ -39,7 +39,6 @@ ROOT_STANDARD_LIBRARY_PACKAGE(GCocoa "-framework Cocoa" "-framework OpenGL" ${FREETYPE_LIBRARIES} - GLEW::GLEW ) target_include_directories(GCocoa PRIVATE ${CMAKE_SOURCE_DIR}/graf3d/gl/inc) diff --git a/graf2d/cocoa/src/TGCocoa.mm b/graf2d/cocoa/src/TGCocoa.mm index 83f7dd730f102..ca61ca61b694a 100644 --- a/graf2d/cocoa/src/TGCocoa.mm +++ b/graf2d/cocoa/src/TGCocoa.mm @@ -13,8 +13,6 @@ #include "TGCocoa.h" -#include - #include "ROOTOpenGLView.h" #include "CocoaConstants.h" #include "TMacOSXSystem.h" @@ -41,6 +39,7 @@ #include #include +#include #include #include