mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
A correction to the cmake file so if OGL is disabled, it doesn't include the sdl platform GL file, allowing the project to compile.
This commit is contained in:
parent
97880e44dd
commit
a1baf0e03c
1 changed files with 6 additions and 0 deletions
|
|
@ -459,7 +459,13 @@ endif()
|
||||||
|
|
||||||
if(TORQUE_SDL)
|
if(TORQUE_SDL)
|
||||||
addPathRec("${srcDir}/windowManager/sdl")
|
addPathRec("${srcDir}/windowManager/sdl")
|
||||||
|
|
||||||
|
if(NOT TORQUE_OPENGL)
|
||||||
|
set(BLACKLIST "sdlPlatformGL.cpp")
|
||||||
|
endif()
|
||||||
|
|
||||||
addPathRec("${srcDir}/platformSDL")
|
addPathRec("${srcDir}/platformSDL")
|
||||||
|
set(BLACKLIST "")
|
||||||
|
|
||||||
if(TORQUE_OPENGL)
|
if(TORQUE_OPENGL)
|
||||||
addPathRec("${srcDir}/gfx/gl/sdl")
|
addPathRec("${srcDir}/gfx/gl/sdl")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue