Move RPath

This commit is contained in:
TheBrokenRail 2024-11-19 22:46:56 -05:00
parent b42021ba5d
commit 043d926f32
2 changed files with 1 additions and 5 deletions

View File

@ -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}")

View File

@ -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()