vcpkg/ports/freerdp/windows-linkage.patch
2023-12-22 15:53:15 -05:00

15 lines
289 B
Diff

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)