mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[cmake] add installWithRPATH
this new CMake function installs a target to a destination and adds the correct relative RPATH to some desired locations
This commit is contained in:
@@ -41,5 +41,5 @@ set(LIBS freerdp-client freerdp winpr)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE ${LIBS})
|
||||
|
||||
set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER "Client/Sample")
|
||||
install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT client)
|
||||
installwithrpath(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT client)
|
||||
install_freerdp_desktop("${PROJECT_NAME}")
|
||||
|
||||
Reference in New Issue
Block a user