summaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
Diffstat (limited to 'depends')
-rw-r--r--depends/CMakeLists.txt4
m---------depends/clsocket0
2 files changed, 4 insertions, 0 deletions
diff --git a/depends/CMakeLists.txt b/depends/CMakeLists.txt
index d16e83ea..d879657e 100644
--- a/depends/CMakeLists.txt
+++ b/depends/CMakeLists.txt
@@ -4,3 +4,7 @@ add_subdirectory(md5)
add_subdirectory(protobuf)
add_subdirectory(tinyxml)
add_subdirectory(tthread)
+# build clsocket static and only as a dependency. Setting those options here overrides its own default settings.
+OPTION(CLSOCKET_SHARED "Build clsocket lib as shared." OFF)
+OPTION(CLSOCKET_DEP_ONLY "Build for use inside other CMake projects as dependency." ON)
+add_subdirectory(clsocket)
diff --git a/depends/clsocket b/depends/clsocket
new file mode 160000
+Subproject 49fa800615a4e5c872164bcb4122030d2ebda9c