File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
39
39
set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
40
40
41
41
option (TESTING "Build tests" ON )
42
+ option (BUILD_INTERNAL_DEPS "Build internal dependencies from git submodules" ON )
42
43
option (CLANG_FORMAT "Enable clang-format target" ON )
43
44
option (CLANG_TIDY "Enable clang-tidy checks during compilation" OFF )
44
45
option (COVERAGE "Enable generation of coverage info" OFF )
@@ -101,19 +102,23 @@ if (CLANG_FORMAT)
101
102
include (cmake/clang-format.cmake )
102
103
endif ()
103
104
104
- add_subdirectory (deps )
105
+ if (BUILD_INTERNAL_DEPS )
106
+ add_subdirectory (deps )
107
+ endif ()
105
108
106
109
include_directories (
107
110
# project includes
108
111
${PROJECT_SOURCE_DIR} /core
109
112
)
110
113
111
- include_directories (
112
- SYSTEM
113
- # system includes
114
- deps/outcome
115
- ${TINY_CBOR_INCLUDE_DIRS}
116
- )
114
+ if (BUILD_INTERNAL_DEPS )
115
+ include_directories (
116
+ SYSTEM
117
+ # system includes
118
+ deps/outcome
119
+ ${TINY_CBOR_INCLUDE_DIRS}
120
+ )
121
+ endif ()
117
122
118
123
add_subdirectory (core )
119
124
You can’t perform that action at this time.
0 commit comments