mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Merge pull request #5 from rextimmy/epoxy_sdl_fix
Fix for Epoxy to work with SDL and VS 2015
This commit is contained in:
commit
cc4d35d563
1 changed files with 5 additions and 1 deletions
|
|
@ -30,10 +30,14 @@ if (WIN32)
|
||||||
addDef(BUILD_WGL)
|
addDef(BUILD_WGL)
|
||||||
else()
|
else()
|
||||||
addPath("${libDir}/epoxy/src/glx")
|
addPath("${libDir}/epoxy/src/glx")
|
||||||
addDef(BUILD_GLX)
|
addDef(BUILD_GLX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
addInclude("${libDir}/epoxy/include")
|
addInclude("${libDir}/epoxy/include")
|
||||||
addInclude("${libDir}/epoxy/src")
|
addInclude("${libDir}/epoxy/src")
|
||||||
|
|
||||||
finishLibrary()
|
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…
Add table
Add a link
Reference in a new issue