File tree 4 files changed +8
-6
lines changed
4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ eth_policy()
36
36
# project name and version should be set after cmake_policy CMP0048
37
37
project (cpp-ethereum VERSION "1.3.0" )
38
38
39
+ if (NOT EXISTS ${CMAKE_SOURCE_DIR} /evmjit/.git)
40
+ message (FATAL_ERROR "Git submodules not initialized, execute:\n git submodule update --init" )
41
+ endif ()
42
+
39
43
set (CMAKE_SKIP_INSTALL_ALL_DEPENDENCY On )
40
44
41
45
include (EthOptions)
@@ -49,9 +53,7 @@ include(ProjectCryptopp)
49
53
include (ProjectJsonCpp)
50
54
include (ProjectJsonRpcCpp)
51
55
52
- if (NOT EXISTS ${CMAKE_SOURCE_DIR} /.git)
53
- message (FATAL_ERROR "Git submodules not initialized, execute:\n git submodule update --init" )
54
- endif ()
56
+
55
57
56
58
configure_project(CPUID CURL EVMJIT FATDB MINIUPNPC ROCKSDB PARANOID TESTS VMTRACE)
57
59
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ ExternalProject_Add(cryptopp
164
164
-DBUILD_SHARED=Off
165
165
-DBUILD_TESTING=Off
166
166
LOG_CONFIGURE 1
167
- # Overwtire build and install commands to force Release build on MSVC.
167
+ # Overwrite build and install commands to force Release build on MSVC.
168
168
BUILD_COMMAND cmake --build <BINARY_DIR> --config Release
169
169
INSTALL_COMMAND cmake --build <BINARY_DIR> --config Release --target install
170
170
LOG_INSTALL 1
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ ExternalProject_Add(jsoncpp
19
19
-DJSONCPP_WITH_TESTS=Off
20
20
-DJSONCPP_WITH_PKGCONFIG_SUPPORT=Off
21
21
LOG_CONFIGURE 1
22
- # Overwtire build and install commands to force Release build on MSVC.
22
+ # Overwrite build and install commands to force Release build on MSVC.
23
23
BUILD_COMMAND cmake --build <BINARY_DIR> --config Release
24
24
INSTALL_COMMAND cmake --build <BINARY_DIR> --config Release --target install
25
25
LOG_INSTALL 1
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ ExternalProject_Add(jsonrpccpp
47
47
PATCH_COMMAND cmake -E make_directory <SOURCE_DIR>/win32 -deps/include
48
48
CMAKE_ARGS ${CMAKE_ARGS}
49
49
LOG_CONFIGURE 1
50
- # Overwtire build and install commands to force Release build on MSVC.
50
+ # Overwrite build and install commands to force Release build on MSVC.
51
51
BUILD_COMMAND cmake --build <BINARY_DIR> --config Release
52
52
INSTALL_COMMAND cmake --build <BINARY_DIR> --config Release --target install
53
53
LOG_INSTALL 1
You can’t perform that action at this time.
0 commit comments