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
option (TESTING "Build tests" ON )
41
41
option (TESTING_PROOFS "Build proofs tests" OFF )
42
42
option (TESTING_ACTORS "Build actors 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,20 +103,24 @@ 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
${PROJECT_SOURCE_DIR} /libs
111
114
)
112
115
113
- include_directories (
114
- SYSTEM
115
- # system includes
116
- deps/indicators/include
117
- deps/libsecp256k1/include
118
- )
116
+ if (BUILD_INTERNAL_DEPS )
117
+ include_directories (
118
+ SYSTEM
119
+ # system includes
120
+ deps/indicators/include
121
+ deps/libsecp256k1/include
122
+ )
123
+ endif ()
119
124
120
125
add_subdirectory (libs )
121
126
add_subdirectory (core )
You can’t perform that action at this time.
0 commit comments