mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-26 02:30:31 +01:00
Provide sources as private to IRRVIDEOOBJ
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user