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