Move RPath
This commit is contained in:
parent
b42021ba5d
commit
043d926f32
@ -47,10 +47,6 @@ target_compile_options(runtime PRIVATE -Wall -Wextra -Werror -Wpointer-arith -Ws
|
||||
# Link
|
||||
target_link_libraries(runtime dl rt trampoline-headers)
|
||||
|
||||
# RPath
|
||||
set_target_properties(runtime PROPERTIES INSTALL_RPATH "$ORIGIN/../lib/native")
|
||||
target_link_options(runtime PRIVATE "LINKER:--disable-new-dtags")
|
||||
|
||||
# Install
|
||||
if(DEFINED MCPI_BIN_DIR)
|
||||
install(TARGETS runtime DESTINATION "${MCPI_BIN_DIR}")
|
||||
|
@ -63,5 +63,5 @@ if(DEFINED MCPI_LIB_DIR)
|
||||
install(PROGRAMS "${QEMU_LIBRARY}" DESTINATION "${MCPI_LIB_DIR}")
|
||||
# License
|
||||
ExternalProject_Get_Property(qemu SOURCE_DIR)
|
||||
install(FILES "${SOURCE_DIR}/COPYING" DESTINATION "${MCPI_LEGAL_DIR}/qemu")
|
||||
install(FILES "${SOURCE_DIR}/COPYING" DESTINATION "${MCPI_LEGAL_DIR}/QEMU")
|
||||
endif()
|
Loading…
Reference in New Issue
Block a user