fix x64/sigma portins's makefile

This commit is contained in:
houzh 2023-09-12 23:03:08 +08:00
parent 992aedd448
commit 552bff5e56
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ set(NONPKG_LIBS "-L${PROJECT_SOURCE_DIR}/libs -lmi_common -lmi_sys -lmi_gfx \
configure_file(cdroidhal.pc.in cdroidhal.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cdroidhal.pc
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
add_library(tvhal SHARED ${SIGMA_SRCS} )
add_library(tvhal SHARED ${SIGMA_SRCS} graph_gfx.c)
target_link_libraries(tvhal ${SIGMA_LIBS})
file(GLOB MILIBS ${PROJECT_SOURCE_DIR}/libs/*.so)
install (TARGETS ${SIGMATARGET} DESTINATION lib)

View File

@ -77,8 +77,8 @@ include_directories(./
${X64_INCLUDE_DIRS}
)
message("CMAKE_SOURCE_DIR=${CMAKE_SOURCE_DIR} GRAPH_SRCS=${GRAPH_SRCS}")
add_library(tvhal SHARED ${X64_SRCS} ${GRAPH_SRCS})
target_link_libraries(tvhal PRIVATE ${X64_LIBRARIES})
add_library(tvhal SHARED ${X64_SRCS} ../common/graph_xlib.c)
target_link_libraries(tvhal PRIVATE ${X11_LIBRARIES})
set(PREFIX ${CMAKE_INSTALL_PREFIX})
set(NONPKG_LIBS "-L${CMAKE_INSTALL_PREFIX}/lib")