Provide sources as private to IRRVIDEOOBJ

This commit is contained in:
numzero 2023-03-25 11:26:52 +03:00
parent 219b7fd7d2
commit 4dda28450f

@ -377,7 +377,7 @@ add_library(IRRVIDEOOBJ OBJECT
) )
if(USE_SDLGL) if(USE_SDLGL)
target_sources(IRRVIDEOOBJ PUBLIC target_sources(IRRVIDEOOBJ PRIVATE
OpenGL/Driver.cpp OpenGL/Driver.cpp
OpenGL/ExtensionHandler.cpp OpenGL/ExtensionHandler.cpp
OpenGL/FixedPipelineRenderer.cpp OpenGL/FixedPipelineRenderer.cpp
@ -387,17 +387,17 @@ if(USE_SDLGL)
endif() endif()
if(USE_SDLGL3) if(USE_SDLGL3)
target_sources(IRRVIDEOOBJ PUBLIC target_sources(IRRVIDEOOBJ PRIVATE
OpenGL3/Driver.cpp OpenGL3/Driver.cpp
) )
endif() endif()
if(USE_SDLGLES2) if(USE_SDLGLES2)
target_sources(IRRVIDEOOBJ PUBLIC target_sources(IRRVIDEOOBJ PRIVATE
OpenGLES2/Driver.cpp OpenGLES2/Driver.cpp
) )
else() else()
target_sources(IRRVIDEOOBJ PUBLIC target_sources(IRRVIDEOOBJ PRIVATE
COGLES2Driver.cpp COGLES2Driver.cpp
COGLES2ExtensionHandler.cpp COGLES2ExtensionHandler.cpp
COGLES2FixedPipelineRenderer.cpp COGLES2FixedPipelineRenderer.cpp