cmake/win32: add CompatPatches

This commit is contained in:
Shawn Hoffman 2017-06-15 21:26:40 -07:00
parent 1210c74955
commit f469d86467

View File

@ -96,7 +96,7 @@ if(USE_EGL)
endif() endif()
if(WIN32) if(WIN32)
set(SRCS ${SRCS} GL/GLInterface/WGL.cpp) set(SRCS ${SRCS} GL/GLInterface/WGL.cpp CompatPatches.cpp)
elseif(APPLE) elseif(APPLE)
set(SRCS ${SRCS} GL/GLInterface/AGL.mm) set(SRCS ${SRCS} GL/GLInterface/AGL.mm)
elseif(HAIKU) elseif(HAIKU)
@ -125,4 +125,6 @@ if(UNIX)
if(HAIKU) if(HAIKU)
target_link_libraries(traversal_server network) target_link_libraries(traversal_server network)
endif() endif()
elseif(WIN32)
target_link_libraries(common PRIVATE "-INCLUDE:enableCompatPatches")
endif() endif()