Skip to content

Commit

Permalink
cmake/win32: add CompatPatches
Browse files Browse the repository at this point in the history
  • Loading branch information
shuffle2 committed Jun 16, 2017
1 parent 1210c74 commit f469d86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/Core/Common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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()

0 comments on commit f469d86

Please sign in to comment.