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)
4040
4141option (TESTING "Build tests" ON )
4242option (TESTING_PROOFS "Build proofs tests" OFF )
43+ option (BUILD_INTERNAL_DEPS "Build internal dependencies from git submodules" ON )
4344option (CLANG_FORMAT "Enable clang-format target" ON )
4445option (CLANG_TIDY "Enable clang-tidy checks during compilation" OFF )
4546option (COVERAGE "Enable generation of coverage info" OFF )
@@ -102,19 +103,23 @@ if (CLANG_FORMAT)
102103 include (cmake/clang-format.cmake)
103104endif ()
104105
105- add_subdirectory (deps)
106+ if (BUILD_INTERNAL_DEPS)
107+ add_subdirectory (deps)
108+ endif ()
106109
107110include_directories (
108111 # project includes
109112 ${PROJECT_SOURCE_DIR} /core
110113)
111114
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 ()
118123
119124add_subdirectory (core)
120125
You can’t perform that action at this time.
0 commit comments