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 @@ -40,6 +40,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
40
40
41
41
option (TESTING "Build tests" ON )
42
42
option (TESTING_PROOFS "Build proofs tests" OFF )
43
+ option (BUILD_INTERNAL_DEPS "Build internal dependencies from git submodules" ON )
43
44
option (CLANG_FORMAT "Enable clang-format target" ON )
44
45
option (CLANG_TIDY "Enable clang-tidy checks during compilation" OFF )
45
46
option (COVERAGE "Enable generation of coverage info" OFF )
@@ -102,19 +103,23 @@ if (CLANG_FORMAT)
102
103
include (cmake/clang-format.cmake )
103
104
endif ()
104
105
105
- add_subdirectory (deps )
106
+ if (BUILD_INTERNAL_DEPS )
107
+ add_subdirectory (deps )
108
+ endif ()
106
109
107
110
include_directories (
108
111
# project includes
109
112
${PROJECT_SOURCE_DIR} /core
110
113
)
111
114
112
- include_directories (
113
- SYSTEM
114
- # system includes
115
- deps/outcome
116
- ${TINY_CBOR_INCLUDE_DIRS}
117
- )
115
+ if (BUILD_INTERNAL_DEPS )
116
+ include_directories (
117
+ SYSTEM
118
+ # system includes
119
+ deps/outcome
120
+ ${TINY_CBOR_INCLUDE_DIRS}
121
+ )
122
+ endif ()
118
123
119
124
add_subdirectory (core )
120
125
You can’t perform that action at this time.
0 commit comments