Fix for Epoxy to work with SDL and VS 2015

This commit is contained in:
rextimmy 2016-05-04 10:05:34 +10:00
parent fddc00b39b
commit f1c8286c2f

View file

@ -37,3 +37,7 @@ 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()