diff options
Diffstat (limited to 'depends/CMakeLists.txt')
| -rw-r--r-- | depends/CMakeLists.txt | 4 |
1 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) |
