mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
15 lines
289 B
Diff
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)
|