From f469d86467631265ed2c628624df231735b38264 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Thu, 15 Jun 2017 21:26:40 -0700 Subject: [PATCH] cmake/win32: add CompatPatches --- Source/Core/Common/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt index b8c52b3db3..4f5c01e6a6 100644 --- a/Source/Core/Common/CMakeLists.txt +++ b/Source/Core/Common/CMakeLists.txt @@ -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()