mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix for Epoxy to work with SDL and VS 2015
This commit is contained in:
parent
fddc00b39b
commit
f1c8286c2f
|
|
@ -30,10 +30,14 @@ if (WIN32)
|
|||
addDef(BUILD_WGL)
|
||||
else()
|
||||
addPath("${libDir}/epoxy/src/glx")
|
||||
addDef(BUILD_GLX)
|
||||
addDef(BUILD_GLX)
|
||||
endif()
|
||||
|
||||
addInclude("${libDir}/epoxy/include")
|
||||
addInclude("${libDir}/epoxy/src")
|
||||
|
||||
finishLibrary()
|
||||
# VS 2015 has a problem with sdl and epoxy together and requires optimizations to be disabled
|
||||
if (MSVC14)
|
||||
target_compile_options(epoxy PRIVATE "/Od")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue