mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-02 04:07:42 +08:00
fix x64/sigma portins's makefile
This commit is contained in:
parent
992aedd448
commit
552bff5e56
@ -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)
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user