vcpkg/ports/freerdp/windows-linkage.patch

15 lines
289 B
Diff
Raw Normal View History

2023-12-23 04:53:15 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db346d3..6ad72d3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -439,6 +439,9 @@ if(WIN32)
endif()
add_definitions(-DFREERDP_EXPORTS)
+if(NOT BUILD_SHARED_LIBS)
+ add_definitions(-DRDTK_EXPORTS)
+endif()
# Mac OS X
if(APPLE)