Commit e41f7629 by Nicolas Capens Committed by Nicolas Capens

Fix CMake Debug builds for Windows

The debugger attachment dialog uses a .rc file that was missing from the CMake build. This caused DllMain to segfault, which the application only observes as a failure to load the DLL. Bug: b/139189696 Change-Id: I590c50da2410826598e8238e25f69709d80f2389 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/34968 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
parent 0b79e98b
...@@ -1779,6 +1779,7 @@ if(WIN32) ...@@ -1779,6 +1779,7 @@ if(WIN32)
list(APPEND EGL_LIST ${OPENGL_DIR}/libEGL/libEGL.rc) list(APPEND EGL_LIST ${OPENGL_DIR}/libEGL/libEGL.rc)
list(APPEND GLES2_LIST ${OPENGL_DIR}/libGLESv2/libGLESv2.rc) list(APPEND GLES2_LIST ${OPENGL_DIR}/libGLESv2/libGLESv2.rc)
list(APPEND GLES_CM_LIST ${OPENGL_DIR}/libGLES_CM/libGLES_CM.rc) list(APPEND GLES_CM_LIST ${OPENGL_DIR}/libGLES_CM/libGLES_CM.rc)
list(APPEND VULKAN_LIST ${VULKAN_DIR}/Vulkan.rc)
elseif(LINUX) elseif(LINUX)
list(APPEND SWIFTSHADER_LIST list(APPEND SWIFTSHADER_LIST
${SOURCE_DIR}/Main/FrameBufferX11.cpp ${SOURCE_DIR}/Main/FrameBufferX11.cpp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment