From 04278ccbf1a489601b9ee01cf335a786248749ac Mon Sep 17 00:00:00 2001
From: Ming Rui Zhang <mingrui.zhang@savoirfairelinux.com>
Date: Fri, 26 Jun 2020 10:53:09 -0400
Subject: [PATCH] misc: cmake changes for windows client adaption

Change-Id: I720705ed96b8754f039170eca132e952c8ca92a3
---
 CMakeLists.txt             | 1 +
 src/jamidht/CMakeLists.txt | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d3e63cee50..f3594023d5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,6 +173,7 @@ if(MSVC)
                "OPENDHT_PROXY_SERVER;"
                "OPENDHT_PUSH_NOTIFICATIONS;"
                "NATPMP_STATICLIB;"
+               "ENABLE_PLUGIN;"
                "NDEBUG;"
            ">"
            "_USE_MATH_DEFINES;"
diff --git a/src/jamidht/CMakeLists.txt b/src/jamidht/CMakeLists.txt
index 733f0070e3..3bbc0389a0 100644
--- a/src/jamidht/CMakeLists.txt
+++ b/src/jamidht/CMakeLists.txt
@@ -17,6 +17,8 @@ list (APPEND Source_Files__jamidht
       "${CMAKE_CURRENT_SOURCE_DIR}/connectionmanager.h"
       "${CMAKE_CURRENT_SOURCE_DIR}/channeled_transport.cpp"
       "${CMAKE_CURRENT_SOURCE_DIR}/channeled_transport.h"
+      "${CMAKE_CURRENT_SOURCE_DIR}/channeled_transfers.cpp"
+      "${CMAKE_CURRENT_SOURCE_DIR}/channeled_transfers.h"
       "${CMAKE_CURRENT_SOURCE_DIR}/contact_list.cpp"
       "${CMAKE_CURRENT_SOURCE_DIR}/contact_list.h"
       "${CMAKE_CURRENT_SOURCE_DIR}/jami_contact.h"
-- 
GitLab