From 18929c7eb475299c60858f35300fce00c42b96fe Mon Sep 17 00:00:00 2001
From: "alexey.stratulat" <alexey.stratulat@demlabs.net>
Date: Fri, 13 Mar 2020 17:10:52 +0700
Subject: [PATCH] [*] Fix. Connecting the submodule directory responsible for
 working with Python plugins. Moved out of the define SUPPORT_PYTHON_PLUGINS.

---
 CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4a8bad2f8..3a3678e66 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,8 +173,6 @@ add_subdirectory(libdap-stream-ch-chain)
 add_subdirectory(libdap-stream-ch-chain-net)
 add_subdirectory(libdap-stream-ch-chain-net-srv)
 
-add_subdirectory(libdap-chain-plugins-python)
-
 #if (NOT ANDROID)
     add_subdirectory(libdap-chain-global-db)
 #endif()
@@ -361,6 +359,7 @@ if(UNIX)
     )
 
     if (SUPPORT_PYTHON_PLUGINS)
+        add_subdirectory(libdap-chain-plugins-python)
         set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DDAP_SUPPORT_PYTHON_PLUGINS")
         message("Build with support python plugins")
         set(Python_ADDITIONAL_VERSION 3.7 3.6 3.5 3.4)
-- 
GitLab