common/khrn_int_hash_asm.s
common/khrn_client_cache.c)
+if(USE_BRCM_GL)
add_library(EGL ${SHARED} ${EGL_SOURCE})
add_library(GLESv2 ${SHARED} ${GLES_SOURCE})
add_library(OpenVG ${SHARED} ${VG_SOURCE})
add_library(WFC ${SHARED} ${WFC_SOURCE})
+endif()
add_library(khrn_client ${CLIENT_SOURCE})
# TODO do we need EGL_static and GLESv2_static now that khrn_static exists?
add_definitions(-DKHRONOS_HAVE_VCSM)
endif()
+if(USE_BRCM_GL)
target_link_libraries(EGL khrn_client vchiq_arm vcos bcm_host ${VCSM_LIBS} -lm)
target_link_libraries(GLESv2 EGL khrn_client vcos)
target_link_libraries(WFC EGL)
target_link_libraries(OpenVG EGL)
-install(TARGETS EGL GLESv2 OpenVG WFC khrn_client DESTINATION lib)
+install(TARGETS EGL GLESv2 OpenVG WFC DESTINATION lib)
+endif()
install(TARGETS EGL_static GLESv2_static khrn_static DESTINATION lib)
# recommended names to use to avoid conflicts with mesa libs
target_link_libraries(brcmWFC brcmEGL)
target_link_libraries(brcmOpenVG brcmEGL)
-install(TARGETS brcmEGL brcmGLESv2 brcmOpenVG brcmWFC DESTINATION lib)
+install(TARGETS brcmEGL brcmGLESv2 brcmOpenVG brcmWFC khrn_client DESTINATION lib)