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