Merge pull request #204 from Areloch/D3DOnlyCompileFix

D3D-only compile fix
This commit is contained in:
Brian Roberts 2020-06-12 13:01:57 -05:00 committed by GitHub
commit 341c7eeee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -459,7 +459,13 @@ endif()
if(TORQUE_SDL)
addPathRec("${srcDir}/windowManager/sdl")
if(NOT TORQUE_OPENGL)
set(BLACKLIST "sdlPlatformGL.cpp")
endif()
addPathRec("${srcDir}/platformSDL")
set(BLACKLIST "")
if(TORQUE_OPENGL)
addPathRec("${srcDir}/gfx/gl/sdl")