CMake: Add missing OpenGL files in GTK build
This commit is contained in:
parent
4a37f2dd15
commit
76617ddb1e
@ -3099,6 +3099,16 @@ set(OPENGL_MSW_HDR
|
||||
wx/msw/glcanvas.h
|
||||
)
|
||||
|
||||
set(OPENGL_GTK_SRC
|
||||
src/gtk/glcanvas.cpp
|
||||
src/unix/glx11.cpp
|
||||
)
|
||||
|
||||
set(OPENGL_GTK_HDR
|
||||
wx/gtk/glcanvas.h
|
||||
wx/unix/glx11.h
|
||||
)
|
||||
|
||||
set(OPENGL_OSX_SHARED_SRC
|
||||
src/osx/cocoa/glcanvas.mm
|
||||
src/osx/glcanvas_osx.cpp
|
||||
|
@ -13,6 +13,8 @@ wx_append_sources(GL_FILES OPENGL_CMN)
|
||||
|
||||
if(WIN32)
|
||||
wx_append_sources(GL_FILES OPENGL_MSW)
|
||||
elseif(WXGTK)
|
||||
wx_append_sources(GL_FILES OPENGL_GTK)
|
||||
elseif(APPLE)
|
||||
wx_append_sources(GL_FILES OPENGL_OSX_SHARED)
|
||||
endif()
|
||||
|
@ -3005,6 +3005,14 @@ OPENGL_CMN_HDR =
|
||||
OPENGL_MSW_SRC =
|
||||
src/msw/glcanvas.cpp
|
||||
|
||||
OPENGL_GTK_HDR =
|
||||
wx/gtk/glcanvas.h
|
||||
wx/unix/glx11.h
|
||||
|
||||
OPENGL_GTK_SRC =
|
||||
src/gtk/glcanvas.cpp
|
||||
src/unix/glx11.cpp
|
||||
|
||||
OPENGL_MSW_HDR =
|
||||
wx/msw/glcanvas.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user