Commit 7319d3ec by Nicolas Capens

Fix CMake build.

Bug swiftshader:41 Change-Id: I4ece1a7aff5cb431ebb80452be0b6698163b7081 Reviewed-on: https://swiftshader-review.googlesource.com/9468Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent c871353e
...@@ -747,6 +747,9 @@ file(GLOB_RECURSE EGL_LIST ...@@ -747,6 +747,9 @@ file(GLOB_RECURSE EGL_LIST
${OPENGL_DIR}/common/debug.h ${OPENGL_DIR}/common/debug.h
${CMAKE_SOURCE_DIR}/include/*.h ${CMAKE_SOURCE_DIR}/include/*.h
) )
# Key method definitions are only required to appease the gold linker,
# and cause vtable linking issues with other linkers.
list(REMOVE_ITEM EGL_LIST ${OPENGL_DIR}/libEGL/TypeInfo.cpp)
file(GLOB_RECURSE GL32_LIST file(GLOB_RECURSE GL32_LIST
${OPENGL_DIR}/libGL/*.cpp ${OPENGL_DIR}/libGL/*.cpp
...@@ -769,6 +772,9 @@ file(GLOB_RECURSE GLES2_LIST ...@@ -769,6 +772,9 @@ file(GLOB_RECURSE GLES2_LIST
${CMAKE_SOURCE_DIR}/include/GLES2/*.h ${CMAKE_SOURCE_DIR}/include/GLES2/*.h
${CMAKE_SOURCE_DIR}/include/GLES3/*.h ${CMAKE_SOURCE_DIR}/include/GLES3/*.h
) )
# Key method definitions are only required to appease the gold linker,
# and cause vtable linking issues with other linkers.
list(REMOVE_ITEM GLES2_LIST ${OPENGL_DIR}/libGLESv2/TypeInfo.cpp)
file(GLOB_RECURSE GLES_CM_LIST file(GLOB_RECURSE GLES_CM_LIST
${OPENGL_DIR}/libGLES_CM/*.cpp ${OPENGL_DIR}/libGLES_CM/*.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