vcpkg/ports/freerdp/install-layout.patch

28 lines
1012 B
Diff
Raw Normal View History

2023-12-23 04:53:15 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
2024-10-22 09:36:48 +08:00
index 0a44b35..49e987a 100644
2023-12-23 04:53:15 +08:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2024-10-22 09:36:48 +08:00
@@ -666,6 +666,9 @@ else()
2024-03-12 11:14:24 +08:00
set(FREERDP_PLUGIN_PATH "${CMAKE_INSTALL_LIBDIR}/${FREERDP_MAJOR_DIR}")
endif()
2023-12-23 04:53:15 +08:00
endif()
+set(FREERDP_DATA_PATH "share/freerdp")
+set(FREERDP_LIBRARY_PATH "${CMAKE_INSTALL_LIBDIR}")
+set(FREERDP_PLUGIN_PATH "${CMAKE_INSTALL_LIBDIR}/freerdp${FREERDP_VERSION_MAJOR}")
set(FREERDP_ADDIN_PATH "${FREERDP_PLUGIN_PATH}")
# Path to put extensions
diff --git a/client/Windows/CMakeLists.txt b/client/Windows/CMakeLists.txt
2024-10-22 09:36:48 +08:00
index 72d3ca6..9e2bc12 100644
2023-12-23 04:53:15 +08:00
--- a/client/Windows/CMakeLists.txt
+++ b/client/Windows/CMakeLists.txt
2024-10-22 09:36:48 +08:00
@@ -77,7 +77,7 @@ target_link_libraries(${MODULE_NAME} PUBLIC ${PUB_LIBS})
target_link_libraries(${MODULE_NAME} PRIVATE ${PRIV_LIBS})
2023-12-23 04:53:15 +08:00
if(WITH_CLIENT_INTERFACE)
- install(TARGETS ${MODULE_NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries)
+ install(TARGETS ${MODULE_NAME} COMPONENT libraries)
endif()
2024-10-22 09:36:48 +08:00
add_subdirectory(cli)
2023-12-23 04:53:15 +08:00