diff --git a/CMakeLists.txt b/CMakeLists.txt index d4184d89..69d2e0d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -798,10 +798,12 @@ if (MOBILEGL_BUILD_DISAGGREGATED) # target, and above all no flatc in the build graph. protocol_generated.h # is committed and regenerated by scripts/gen_protocol.py. list(APPEND MOBILEGL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/3rdparty/flatbuffers/include) - # The vendored glvnd vendor-ABI headers (3rdparty/glvnd): the entry point a vendor library - # exposes so the system libEGL - which IS glvnd - can dispatch to it. - list(APPEND MOBILEGL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/3rdparty/glvnd/include) endif() +# The vendored glvnd vendor-ABI headers (3rdparty/glvnd): the entry point a vendor library exposes so +# the system libEGL - which IS glvnd - can dispatch to it. Every build compiles the two GlvndVendor.cpp +# files, so the path is every build's (P13 W5: the Android library without MG_Remote - FCL's - did not +# find ; a Linux host only built because its system has the header). +list(APPEND MOBILEGL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/3rdparty/glvnd/include) add_library(${CMAKE_PROJECT_NAME} SHARED ${SOURCE_FILES}