mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-31 07:12:18 +00:00
37 lines
1.0 KiB
CMake
37 lines
1.0 KiB
CMake
|
|
# interface/vmcs_host
|
|
|
|
# not working in release build
|
|
# add_definitions(-Werror)
|
|
|
|
# vc_vchi_gencmd.c has a type-punning problem in vc_gencmd_read_response
|
|
add_definitions(-fno-strict-aliasing)
|
|
|
|
add_library(vchostif
|
|
${VMCS_TARGET}/vcmisc.c
|
|
vc_vchi_gencmd.c vc_vchi_gpuserv.c
|
|
vc_vchi_tvservice.c vc_vchi_cecservice.c
|
|
vc_vchi_dispmanx.c vc_service_common.c)
|
|
# ${VMCS_TARGET}/vmcs_main.c
|
|
# vc_vchi_haud.c
|
|
#add_library(bufman vc_vchi_bufman.c )
|
|
set(INSTALL_TARGETS vchostif)
|
|
|
|
if(NOT ARM64)
|
|
# OpenMAX/IL component service
|
|
add_library(vcilcs
|
|
vcilcs.c vcilcs_in.c vcilcs_out.c vcilcs_common.c)
|
|
|
|
# ILCS pulls in EGL for the ILCS/EGL surface API support
|
|
target_link_libraries(vcilcs brcmEGL brcmGLESv2 khrn_client vchiq_arm vcos)
|
|
set(INSTALL_TARGETS ${INSTALL_TARGETS} vcilcs)
|
|
endif()
|
|
|
|
# vchostif needs ilcore as well (vmcs_main pulls it in)
|
|
target_link_libraries(vchostif vchiq_arm vcos)
|
|
|
|
#target_link_libraries(bufman WFC)
|
|
|
|
install(TARGETS ${INSTALL_TARGETS} DESTINATION lib)
|
|
|