cmake/win32: add CompatPatches

This commit is contained in:
Shawn Hoffman 2017-06-15 21:26:40 -07:00
parent 1210c74955
commit f469d86467
1 changed files with 3 additions and 1 deletions

View File

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