aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/freerdp/windows-linkage.patch
blob: 84e27da731f803d9417dada7bcbb409c608496f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db346d3..6ad72d3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -260,6 +260,9 @@ if(WIN32)
 endif()
 
 add_compile_definitions(FREERDP_EXPORTS)
+if(NOT BUILD_SHARED_LIBS)
+  add_compile_definitions(RDTK_EXPORTS)
+endif()
 
 # Mac OS X
 if(APPLE)